| 1234567891011121314151617181920212223242526272829 | using UnityEngine;using GFGGame;using FairyGUI;using YooAsset;using UnityEngine.SceneManagement;public class GameLauncher : MonoBehaviour{    public static GameLauncher Instance;    /// <summary>    /// 资源系统运行模式    /// </summary>    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;    }}
 |