|
@@ -181,12 +181,30 @@ namespace GFGGame
|
|
PromptController.Instance.ShowFloatTextPrompt("不在活动周期内");
|
|
PromptController.Instance.ShowFloatTextPrompt("不在活动周期内");
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
+
|
|
int type = studioCfg.funId == typeof(StudioPropertyView).Name ? 1 : 0;
|
|
int type = studioCfg.funId == typeof(StudioPropertyView).Name ? 1 : 0;
|
|
|
|
+ StudioDataManager.Instance.TYPE_SELECT_INDEX = type;
|
|
|
|
+ StudioDataManager.Instance.PROPERTY_SELECT_INDEX = 0;
|
|
|
|
+ if (studioCfg.funId == typeof(StudioPropertyView).Name)
|
|
|
|
+ {
|
|
|
|
+ List<StudioCfg> studioCfgs = StudioCfgArray.Instance.GetCfgs(typeof(StudioPropertyView).Name);
|
|
|
|
+ for (int i = 0; i < studioCfgs.Count; i++)
|
|
|
|
+ {
|
|
|
|
+ if (studioCfgs[i].id == studioCfg.id)
|
|
|
|
+ {
|
|
|
|
+ StudioDataManager.Instance.PROPERTY_SELECT_INDEX = i;
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
string viewName = "GFGGame." + studioCfg.funId;
|
|
string viewName = "GFGGame." + studioCfg.funId;
|
|
- ViewManager.Show(viewName, new object[] { type, 0 }, _fromeViewDatas);
|
|
|
|
|
|
|
|
|
|
+ ViewManager.Show(viewName, new object[] { type, 0 }, _fromeViewDatas);
|
|
|
|
+ StudioDataManager.Instance.VIEW_NAME = studioCfg.funId; ;
|
|
}
|
|
}
|
|
- StoryController.ShowLevelView(levelCfgId);
|
|
|
|
|
|
+
|
|
|
|
+ InstanceZonesController.ShowLevelView(levelCfgId, StudioDataManager.Instance.OnFinishStoryLevel);
|
|
|
|
+ // StoryController.ShowLevelView(levelCfgId);
|
|
break;
|
|
break;
|
|
case ConstFunctionId.FU_ZHUANG_HE_CHENG:
|
|
case ConstFunctionId.FU_ZHUANG_HE_CHENG:
|
|
|
|
|