Esempio n. 1
0
 /// <summary>
 /// 初始化
 /// </summary>
 /// <param name="go"></param>
 protected override void setup(GameObject go)
 {
     base.setup(go);
     mapScene = SceneUtils.get <BaseMapScene>(go);
 }
Esempio n. 2
0
        bool mapFlag = false;         // 标志是否调用了 updateMap

        #region 初始化

        /// <summary>
        /// 初始化
        /// </summary>
        /// <param name="go"></param>
        protected override void setup(GameObject go)
        {
            base.setup(go);
            mapScene = SceneUtils.get <BaseMapScene>(go);
            effect   = mapScene.timeTravelEffect;
        }