コード例 #1
0
ファイル: CFTEngine.cs プロジェクト: sinfawkes/cft_branch_0
        private void Awake()
        {
            instance = this;

            //TODO
            m_game = new CFTGame();
        }
コード例 #2
0
ファイル: CFTStarter.cs プロジェクト: sinfawkes/cft_branch_0
        private void Awake()
        {
            m_gameEngine = gameObject.AddComponent <CFTEngine>();

            GameObject.DontDestroyOnLoad(this.gameObject);
        }