1
This commit is contained in:
parent
83e6f490dd
commit
2a601b7159
@ -240,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-100010\",\n\"session_key\":\"xxxxx10\",\n\"unionid\":\"xxxxx10\",\n\"errcode\":0,\n\"errmsg\":\"xxxxx\"\n}");
|
||||
onComplete.Invoke("{\n\"openid\":\"pc-101018\",\n\"session_key\":\"xxxxx10\",\n\"unionid\":\"xxxxx10\",\n\"errcode\":0,\n\"errmsg\":\"xxxxx\"\n}");
|
||||
yield break;
|
||||
#else
|
||||
#if PLATFORM_WEIXINMINIGAME
|
||||
|
||||
@ -65,7 +65,7 @@ public class TestDanMuPlayer : MonoBehaviour
|
||||
|
||||
private void InitializeDemoDanmaku()
|
||||
{
|
||||
danMuPlayer.Play(GetCombinedDanmakuList(), loopToggle.isOn);
|
||||
//danMuPlayer.Play(GetCombinedDanmakuList(), loopToggle.isOn);
|
||||
}
|
||||
|
||||
private List<string> GetCombinedDanmakuList()
|
||||
@ -93,7 +93,7 @@ public class TestDanMuPlayer : MonoBehaviour
|
||||
danMuPlayer.ToggleLoop(isOn);
|
||||
if (isOn && danMuPlayer.GetLoopListCount() == 0)
|
||||
{
|
||||
danMuPlayer.Play(GetCombinedDanmakuList(), true);
|
||||
//danMuPlayer.Play(GetCombinedDanmakuList(), true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user