| | |
| | | |
| | | private void ContentDisplay()//内容显示
|
| | | {
|
| | | var functionForecastConfig = Config.Instance.Get<FunctionForecastConfig>(ClickFuncID);
|
| | | var functionForecastConfig = FunctionForecastConfig.Get(ClickFuncID);
|
| | | if (functionForecastConfig == null)
|
| | | {
|
| | | return;
|
| | |
| | | UI3DModelExhibition.Instance.StopShow();
|
| | | UI3DModelExhibition.Instance.StopShow();
|
| | | UI3DTreasureExhibition.Instance.StopShow();
|
| | | var functionForecastConfig = Config.Instance.Get<FunctionForecastConfig>(ClickFuncID);
|
| | | var functionForecastConfig = FunctionForecastConfig.Get(ClickFuncID);
|
| | | bool Type = false;
|
| | | int NeedLv = 0;
|
| | | int playerLv = PlayerDatas.Instance.baseData.LV;
|
| | |
| | | {
|
| | | case (int)FeatureNoticeEnum.Pet:
|
| | | m_RawImage1.gameObject.SetActive(true);
|
| | | var npcConfig = Config.Instance.Get<NPCConfig>(50106001);
|
| | | var npcConfig = NPCConfig.Get(50106001);
|
| | | UI3DModelExhibition.Instance.ShowNPC(50106001, npcConfig.UIModeLOffset, npcConfig.UIModelRotation, m_RawImage1);
|
| | | break;
|
| | | case (int)FeatureNoticeEnum.Horse:
|
| | | m_RawImage2.gameObject.SetActive(true);
|
| | | HorseConfig _model = Config.Instance.Get<HorseConfig>(100);
|
| | | HorseConfig _model = HorseConfig.Get(100);
|
| | | UI3DModelExhibition.Instance.ShowHourse(_model.Model, m_RawImage2);
|
| | | break;
|
| | | case (int)FeatureNoticeEnum.Wing:
|
| | |
| | | int job = PlayerDatas.Instance.baseData.Job;
|
| | | if (job == 1)
|
| | | {
|
| | | var config = Config.Instance.Get<WingRefineExpConfig>(3711);
|
| | | var config = WingRefineExpConfig.Get(3711);
|
| | | int _modelID = config.Model;
|
| | | UI3DModelExhibition.Instance.ShowWing(_modelID, vec3, m_RawImage3);
|
| | | }
|
| | | else if (job == 2)
|
| | | {
|
| | | var config = Config.Instance.Get<WingRefineExpConfig>(3721);
|
| | | var config = WingRefineExpConfig.Get(3721);
|
| | | int _modelID = config.Model;
|
| | | UI3DModelExhibition.Instance.ShowWing(_modelID, vec3, m_RawImage3);
|
| | | }
|
| | |
| | | m_TextUnopened.gameObject.SetActive(false);
|
| | | m_Textschedule.gameObject.SetActive(false);
|
| | | m_ButtonGoto.gameObject.SetActive(false);
|
| | | FuncOpenLVConfig funcoPenConfig = Config.Instance.Get<FuncOpenLVConfig>(funcID);
|
| | | var functionForecastConfig = Config.Instance.Get<FunctionForecastConfig>(ClickFuncID);
|
| | | FuncOpenLVConfig funcoPenConfig = FuncOpenLVConfig.Get(funcID);
|
| | | var functionForecastConfig = FunctionForecastConfig.Get(ClickFuncID);
|
| | | bool Type = false;
|
| | | int NeedLv = 0;
|
| | | int playerLv = PlayerDatas.Instance.baseData.LV;
|
| | |
| | | m_Textschedule.gameObject.SetActive(true);
|
| | | m_ButtonGoto.gameObject.SetActive(true);
|
| | | Treasure treasure;
|
| | | TreasureConfig _treasure = Config.Instance.Get<TreasureConfig>(fabaoID);
|
| | | TreasureConfig _treasure = TreasureConfig.Get(fabaoID);
|
| | | m_ButtonGoto.SetListener(() =>
|
| | | {
|
| | | var config = Config.Instance.Get<TreasureConfig>(fabaoID);
|
| | | var config = TreasureConfig.Get(fabaoID);
|
| | | treasureModel.selectedTreasure = fabaoID;
|
| | | treasureModel.currentCategory = (TreasureCategory)config.Category;
|
| | | WindowJumpMgr.Instance.WindowJumpTo(JumpUIType.TreasureCollectSoul);
|