Пример #1
0
        /// <summary>
        /// 初始化游戏数据
        /// </summary>
        public void InitData()
        {
            //设置GameStageManager
            this.gsm = GameStageManager.Instance;

            // 构建GameStages
            OnBuildStages();
        }
Пример #2
0
        /// <summary>
        /// 初始化游戏数据
        /// </summary>
        public void InitData()
        {
            //设置GameStageManager
            this.gsm = GameStageManager.Instance;
            // 构建GameStages
            this.gsm.gameStages = new Dict <int, GameStage>();

            // 构建GameStages
            this.OnBuildStages();
        }