private void Awake() { if (m_bIsInitialized) { Debug.LogError("[GameCore] was initialized"); Object.Destroy(gameObject); } else { m_bIsInitialized = true; transform.name = "[GameCore]"; GameObject.DontDestroyOnLoad(this.gameObject); InstanceGameObject = this.gameObject; m_SystemManager = new GameSystemManager(InstanceGameObject); } m_SystemManager.StartInitialSystem(); }