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(); 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"); } }