/// <summary> /// 初始化 /// </summary> /// <param name="go"></param> protected override void setup(GameObject go) { base.setup(go); mapScene = SceneUtils.get <BaseMapScene>(go); }
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; }