GameMgr
This commit is contained in:
parent
c31328a2ee
commit
d960626c93
@ -130,6 +130,8 @@ public class GameMgr : SingletonMono<GameMgr>
|
||||
get { return DeviceInfo.m_DeviceState == DeviceInfo.eDeviceState.GOOD_DEVICE; }
|
||||
}
|
||||
|
||||
public int FunnyGameScore { get; set; } = 0;
|
||||
|
||||
NPack.MersenneTwister rand = null;
|
||||
|
||||
private SceneType mEnterSceneType = 0;
|
||||
@ -238,7 +240,7 @@ public class GameMgr : SingletonMono<GameMgr>
|
||||
#if UNITY_EDITOR
|
||||
// test weixin minigame openid:
|
||||
//onComplete.Invoke("{\n\"openid\":\"oUEz364FbD3Qtus574MJ_KA7vCaA\",\n\"session_key\":\"xxxxx\",\n\"unionid\":\"xxxxx\",\n\"errcode\":0,\n\"errmsg\":\"xxxxx\"\n}");
|
||||
onComplete.Invoke("{\n\"openid\":\"pc-100001\",\n\"session_key\":\"xxxxx\",\n\"unionid\":\"xxxxx1\",\n\"errcode\":0,\n\"errmsg\":\"xxxxx\"\n}");
|
||||
onComplete.Invoke("{\n\"openid\":\"pc-100010\",\n\"session_key\":\"xxxxx10\",\n\"unionid\":\"xxxxx10\",\n\"errcode\":0,\n\"errmsg\":\"xxxxx\"\n}");
|
||||
yield break;
|
||||
#else
|
||||
#if PLATFORM_WEIXINMINIGAME
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user