using UnityEngine; using GFGGame; using FairyGUI; using YooAsset; using UnityEngine.SceneManagement; public class GameLauncher : MonoBehaviour { public static GameLauncher Instance; /// /// 资源系统运行模式 /// public EPlayMode PlayMode = EPlayMode.EditorSimulateMode; private void Awake() { Instance = this; DontDestroyOnLoad(gameObject); SceneManager.LoadScene("VersionChecker"); } // Start is called before the first frame update void Start() { Screen.sleepTimeout = SleepTimeout.NeverSleep; Application.runInBackground = true; } }