<code>public class GameLaunch:MonoBehaviour
{
    
    public static GameLaunch _instance;
    public static GameLaunch instance
    {
        get{
            if (_instance == null)
            {
                GameObject go = new GameObject("GameLaunch");
                DontDestroyOnLoad(go);
                _instance = go.AddComponent<GameLaunch>();
            }
            return _instance;
        }
    }
}</code>
					
0 条评论。