| | |
| | | Pet = 6,//灵宠
|
| | | Horse = 8,//坐骑
|
| | | Wing = 97,//翅膀
|
| | | GossipFurnace = 87,//八卦炉
|
| | | GossipFurnace = 143,//八卦炉
|
| | | } |
| | | |
| | | public class FeatureNoticeWin : Window |
| | |
| | | }
|
| | | protected override void OnPreClose() |
| | | {
|
| | | UI3DModelExhibition.Instance.StopShowNPC(); |
| | | UI3DModelExhibition.Instance.StopShowHourse();
|
| | | UI3DModelExhibition.Instance.StopShowWing(); |
| | | UI3DModelExhibition.Instance.StopShow(); |
| | | UI3DModelExhibition.Instance.StopShow();
|
| | | UI3DModelExhibition.Instance.StopShow(); |
| | | UI3DTreasureExhibition.Instance.StopShow(); |
| | | }
|
| | | protected override void OnAfterClose() |
| | |
| | | m_TextShowB.gameObject.SetActive(false);
|
| | | m_TextShowC.gameObject.SetActive(false);
|
| | | m_TextShowD.gameObject.SetActive(false);
|
| | | m_TextAdvanceName.text = "?";
|
| | | }
|
| | | else
|
| | | {
|
| | |
| | | m_TextShowB.gameObject.SetActive(true);
|
| | | m_TextShowC.gameObject.SetActive(true);
|
| | | m_TextShowD.gameObject.SetActive(true);
|
| | | m_TextAdvanceName.text = functionForecastConfig.FuncName;
|
| | | }
|
| | | m_TextAdvanceName.text = functionForecastConfig.FuncName;
|
| | | |
| | | DisplayIcon(ClickFuncID);
|
| | | string[] StrList = ConfigParse.GetMultipleStr(functionForecastConfig.Content);
|
| | | if (StrList.Length > 0)
|
| | |
| | | m_RawImage3.gameObject.SetActive(false);
|
| | | m_RawImage4.gameObject.SetActive(false);
|
| | | m_FeaturesImage.gameObject.SetActive(false);
|
| | | UI3DModelExhibition.Instance.StopShowNPC();
|
| | | UI3DModelExhibition.Instance.StopShowHourse();
|
| | | UI3DModelExhibition.Instance.StopShowWing();
|
| | | UI3DModelExhibition.Instance.StopShow();
|
| | | UI3DModelExhibition.Instance.StopShow();
|
| | | UI3DModelExhibition.Instance.StopShow();
|
| | | UI3DTreasureExhibition.Instance.StopShow();
|
| | | var functionForecastConfig = Config.Instance.Get<FunctionForecastConfig>(ClickFuncID);
|
| | | bool Type = false;
|
| | |
| | | case (int)FeatureNoticeEnum.Pet:
|
| | | m_RawImage1.gameObject.SetActive(true);
|
| | | var npcConfig = Config.Instance.Get<NPCConfig>(50106001);
|
| | | UI3DModelExhibition.Instance.BeginShowNPC(50106001, npcConfig.UIModeLOffset, npcConfig.UIModelRotation, m_RawImage1);
|
| | | 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);
|
| | | UI3DModelExhibition.Instance.BeginShowHourse(_model.Model, m_RawImage2);
|
| | | UI3DModelExhibition.Instance.ShowHourse(_model.Model, m_RawImage2);
|
| | | break;
|
| | | case (int)FeatureNoticeEnum.Wing:
|
| | | m_RawImage3.gameObject.SetActive(true);
|
| | |
| | | {
|
| | | var config = Config.Instance.Get<WingRefineExpConfig>(3711);
|
| | | int _modelID = config.Model;
|
| | | UI3DModelExhibition.Instance.BeginShowWing(_modelID, vec3, m_RawImage3);
|
| | | UI3DModelExhibition.Instance.ShowWing(_modelID, vec3, m_RawImage3);
|
| | | }
|
| | | else if (job == 2)
|
| | | {
|
| | | var config = Config.Instance.Get<WingRefineExpConfig>(3721);
|
| | | int _modelID = config.Model;
|
| | | UI3DModelExhibition.Instance.BeginShowWing(_modelID, vec3, m_RawImage3);
|
| | | UI3DModelExhibition.Instance.ShowWing(_modelID, vec3, m_RawImage3);
|
| | | }
|
| | | break;
|
| | | case (int)FeatureNoticeEnum.GossipFurnace:
|
| | |
| | | }
|
| | | }
|
| | | m_TextUnopened.gameObject.SetActive(true);
|
| | | m_TextUnopened.text = string.Format(Language.Get("NextYGLimit"), NeedLv, functionForecastConfig.FuncName);
|
| | | m_TextUnopened.text = string.Format(Language.Get("NextYGLimit"), NeedLv);
|
| | | return;
|
| | | }
|
| | | if (funcoPenConfig.LimitMagicWeapon != 0 || funcoPenConfig.LimitMissionID != 0)
|