fix:1、添加项目

This commit is contained in:
2026-04-22 09:52:55 +08:00
commit 173cfb2dc9
5871 changed files with 600870 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
using FlowerPower;
using UnityEngine;
public class GemCrushRoot : MonoBehaviour
{
public void Awake()
{
#if UNITY_EDITOR || FlowerPowerRelease
GameObject.Find("IngameDebugConsole").SetActive(false);
#endif
MaxADKit.Init();
OnLauncher();
var reqData = new RespLoginFunnelData
{
type = "bootstrap",
payload = ""
};
NetworkKit.PostFunnelLogin(reqData);
}
public static void OnLauncher()
{
AppObjConst.FrameGo = new GameObject($"{AppObjConst.FrameGoName}");
AppObjConst.FrameGo.AddComponent<GemCrushCore>();
DontDestroyOnLoad(AppObjConst.FrameGo);
App.InitApplication(SuperApplication.Instance);
MarkdownTextManager.Instance.LoadText("privacy", "https://www.flowerlazypower.fun//privacy.md");
MarkdownTextManager.Instance.LoadText("user", "https://www.flowerlazypower.fun//user.md");
}
}