This commit is contained in:
fatiao 2026-01-26 10:41:22 +08:00
parent 83e6f490dd
commit 2a601b7159
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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);
}
}