MainUIView.cs 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  1. using FairyGUI;
  2. using UI.Main;
  3. using UnityEngine;
  4. using System.Collections.Generic;
  5. using ET;
  6. namespace GFGGame
  7. {
  8. public class MainUIView : BaseView
  9. {
  10. private UI_MainUI _ui;
  11. private GameObject _scenePrefab;
  12. private GameObject _sceneObject;
  13. private ValueBarController _valueBarController;
  14. private float effectTime = 0.7f;
  15. private bool isOpen = false;
  16. private GButton _btnGongGao;
  17. private GButton _btnHaoYou;
  18. private GButton _btnYouJian;
  19. private GButton _btnRenWu;
  20. private GButton _btnPengYouQuan;
  21. private GButton _btnJInShu;
  22. private GButton _btnTianGong;
  23. private GButton _btnStore;
  24. private GButton _btnTuJian;
  25. private GButton _btnStudio;
  26. private GButton _btnField;
  27. private GameObject _effectObj4;
  28. private GoWrapper _wrapper4;
  29. private GameObject _effectObj4_1;
  30. private GoWrapper _wrapper4_1;
  31. private GameObject _effectObj5;
  32. private GoWrapper _wrapper5;
  33. private List<GameObject> _effects = new List<GameObject>();
  34. private List<GoWrapper> _wrappers = new List<GoWrapper>();
  35. private List<GameObject> _effects1 = new List<GameObject>();
  36. private List<GoWrapper> _wrappers1 = new List<GoWrapper>();
  37. private UI_ButtonModle1[] _btns;
  38. public override void Dispose()
  39. {
  40. if (_valueBarController != null)
  41. {
  42. _valueBarController.Dispose();
  43. _valueBarController = null;
  44. }
  45. for (int i = 0; i < _btns.Length; i++)
  46. {
  47. SceneController.DestroyObjectFromView(_effects[i], _wrappers[i]);
  48. SceneController.DestroyObjectFromView(_effects1[i], _wrappers1[i]);
  49. }
  50. SceneController.DestroyObjectFromView(_effectObj4, _wrapper4);
  51. SceneController.DestroyObjectFromView(_effectObj4_1, _wrapper4_1);
  52. SceneController.DestroyObjectFromView(_effectObj5, _wrapper5);
  53. if (_sceneObject != null)
  54. {
  55. GameObject.Destroy(_sceneObject);
  56. _sceneObject = null;
  57. }
  58. if (_ui != null)
  59. {
  60. _ui.Dispose();
  61. _ui = null;
  62. }
  63. base.Dispose();
  64. }
  65. protected override void Init()
  66. {
  67. base.Init();
  68. packageName = UI_MainUI.PACKAGE_NAME;
  69. _ui = UI_MainUI.Create();
  70. viewCom = _ui.target;
  71. isfullScreen = true;
  72. _scenePrefab = GFGAsset.Load<GameObject>(ResPathUtil.GetPrefabPath("SceneMain"));
  73. }
  74. protected override void OnInit()
  75. {
  76. base.OnInit();
  77. _valueBarController = new ValueBarController(_ui.m_valueBar);
  78. _btnGongGao = _ui.m_list.GetChild("btnGongGao").asButton;
  79. _btnHaoYou = _ui.m_list.GetChild("btnHaoYou").asButton;
  80. _btnYouJian = _ui.m_list.GetChild("btnYouJian").asButton;
  81. _btnRenWu = _ui.m_list.GetChild("btnRenWu").asButton;
  82. _btnPengYouQuan = _ui.m_list.GetChild("btnPengYouQuan").asButton;
  83. _btnStore = _ui.m_list.GetChild("btnStore").asButton;
  84. _btnTianGong = _ui.m_list.GetChild("btnTianGong").asButton;
  85. _btnTuJian = _ui.m_list.GetChild("btnTuJian").asButton;
  86. _btnJInShu = _ui.m_list.GetChild("btnJInShu").asButton;
  87. _btnStudio = _ui.m_list.GetChild("btnStudio").asButton;
  88. _btnField = _ui.m_list.GetChild("btnField").asButton;
  89. // _btnGongGao.visible = false;
  90. // _btnHaoYou.visible = false;
  91. // _btnRenWu.visible = false;
  92. _btnPengYouQuan.visible = false;
  93. _btnJInShu.visible = false;
  94. _btnTianGong.visible = false;
  95. _btns = new UI_ButtonModle1[] { _ui.m_btnHuanZhuang, _ui.m_btnZhaiXing, _ui.m_btnXiuFang, _ui.m_btnCiPai, _ui.m_btnStudio, _ui.m_btnField };
  96. _ui.m_btnMain.target.onTouchBegin.Add(OnClickBtnMain);
  97. _ui.m_btnHuanZhuang.target.onTouchBegin.Add(OnClickBtnHuanZhuang);
  98. _ui.m_btnZhaiXing.target.onTouchBegin.Add(OnClickBtnZhaiXing);
  99. _ui.m_btnDailyLogin.target.onTouchBegin.Add(OnClickBtnDailyLogin);
  100. _ui.m_btnXiuFang.target.onTouchBegin.Add(OnClickBtnXiuFang);
  101. _ui.m_btnCiPai.target.onTouchBegin.Add(OnClickBtnCiPai);
  102. _ui.m_btnStudio.target.onTouchBegin.Add(OnClickBtnStudio);
  103. _ui.m_btnField.target.onTouchBegin.Add(OnClickBtnField);
  104. _ui.m_headBar.target.onClick.Add(OnClickHeadBar);
  105. _btnStore.onClick.Add(OnClickBtnStore);
  106. _btnTuJian.onClick.Add(OnClickBtnTuJian);
  107. _btnYouJian.onClick.Add(OnClickBtnYouJian);
  108. _btnHaoYou.onClick.Add(OnClickBtnHaoYou);
  109. _btnGongGao.onClick.Add(OnClickBtnGongGao);
  110. _btnRenWu.onClick.Add(OnClickBtnRenWu);
  111. _btnStudio.onClick.Add(OnClickBtnStudio);
  112. _btnField.onClick.Add(OnClickBtnField);
  113. AddEffect();
  114. // StorageSProxy.ReqSetClientValue(ConstStorageId.STORAGE_GUIDE + 4, 0).Coroutine();
  115. }
  116. protected override void AddEventListener()
  117. {
  118. base.AddEventListener();
  119. EventAgent.AddEventListener(ConstMessage.NUMERIC_CHANGE, OnNumericChange);
  120. EventAgent.AddEventListener(ConstMessage.STORY_LEVEL_CHANGE, CheckFunOpen);
  121. EventAgent.AddEventListener(ConstMessage.RED_CHANGE, UpdateRedDot);
  122. }
  123. protected override void OnShown()
  124. {
  125. base.OnShown();
  126. _ui.m_btnChange.selected = true;
  127. _ui.m_headBar.m_txtName.text = RoleDataManager.roleName;
  128. if (_sceneObject == null)
  129. {
  130. _sceneObject = GameObject.Instantiate(_scenePrefab);
  131. }
  132. CheckFunOpen();
  133. UpdateRedDot();
  134. SceneController.UpdateMainScene(_sceneObject);
  135. UpdateRoleLvl();
  136. _valueBarController.OnShown();
  137. long lastTime = GameGlobal.lastLoginTime;// GameGlobal.myNumericComponent.GetAsInt(NumericType.OnlineTimeSecs);
  138. if (!TimeUtil.CheckIsSameTime(lastTime * 1000, TimeHelper.ClientNow()) && ActivityDataManager.Instance.dailyLoginBonusStatus == ConstBonusStatus.CAN_GET && GuideDataManager.currentGuideId <= 0)
  139. {
  140. ViewManager.Show<DailyLoginView>();
  141. GameGlobal.lastLoginTime = GameGlobal.myNumericComponent.GetAsInt(NumericType.OnlineTimeSecs);
  142. }
  143. Timers.inst.AddUpdate(CheckGuide);
  144. Timers.inst.AddUpdate(Update);
  145. }
  146. protected override void OnHide()
  147. {
  148. base.OnHide();
  149. if (_sceneObject != null)
  150. {
  151. GameObject.Destroy(_sceneObject);
  152. _sceneObject = null;
  153. }
  154. _valueBarController.OnHide();
  155. Timers.inst.Remove(Update);
  156. Timers.inst.Remove(CheckGuide);
  157. }
  158. protected override void RemoveEventListener()
  159. {
  160. base.RemoveEventListener();
  161. EventAgent.RemoveEventListener(ConstMessage.NUMERIC_CHANGE, OnNumericChange);
  162. EventAgent.RemoveEventListener(ConstMessage.STORY_LEVEL_CHANGE, CheckFunOpen);
  163. EventAgent.RemoveEventListener(ConstMessage.RED_CHANGE, UpdateRedDot);
  164. }
  165. private void AddEffect()
  166. {
  167. string resPath0 = ResPathUtil.GetViewEffectPath("ui_zjm", "ui_xf_tx");
  168. string resPath3 = ResPathUtil.GetViewEffectPath("ui_zjm", "ui_zjm_dj");
  169. for (int i = 0; i < _btns.Length; i++)
  170. {
  171. GameObject gameObject0;
  172. GoWrapper wrapper0;
  173. GameObject gameObject1;
  174. GoWrapper wrapper1;
  175. SceneController.AddObjectToView(null, null, _btns[i].m_holder, resPath0, out gameObject0, out wrapper0);
  176. SceneController.AddObjectToView(null, null, _btns[i].m_holder1, resPath3, out gameObject1, out wrapper1);
  177. _effects.Add(gameObject0);
  178. _wrappers.Add(wrapper0);
  179. _effects1.Add(gameObject1);
  180. _wrappers1.Add(wrapper1);
  181. }
  182. string resPath1 = ResPathUtil.GetViewEffectPath("ui_zjm", "ui_zzl_tx");
  183. SceneController.AddObjectToView(_effectObj4, _wrapper4, _ui.m_btnMain.m_holder, resPath1, out _effectObj4, out _wrapper4);
  184. SceneController.AddObjectToView(_effectObj4_1, _wrapper4_1, _ui.m_btnMain.m_holder1, resPath3, out _effectObj4_1, out _wrapper4_1);
  185. string resPath2 = ResPathUtil.GetViewEffectPath("ui_zjm", "ui_zjm_tx");
  186. SceneController.AddObjectToView(_effectObj5, _wrapper5, _ui.m_headBar.m_holder, resPath2, out _effectObj5, out _wrapper5);
  187. }
  188. private void OnClickBtnMain()
  189. {
  190. LogServerHelper.SendNodeLog((int)PlayParticipationEnum.CHUN_ZHONG_LOU, 1);
  191. if (isOpen) return;
  192. isOpen = true;
  193. _ui.m_btnMain.m_holder1.visible = true;
  194. Timers.inst.Add(effectTime, 1, (param) =>
  195. {
  196. _ui.m_btnMain.m_holder1.visible = false;
  197. // this.Hide();
  198. ViewManager.Show(ViewName.STORY_CHAPTER_LIST_VIEW, null, new object[] { ViewName.MAINUI_VIEW, this.viewData });
  199. isOpen = false; ;
  200. });
  201. }
  202. private void OnClickBtnHuanZhuang()
  203. {
  204. if (isOpen) return;
  205. isOpen = true;
  206. _ui.m_btnHuanZhuang.m_holder1.visible = true;
  207. Timers.inst.Add(effectTime, 1, (param) =>
  208. {
  209. _ui.m_btnHuanZhuang.m_holder1.visible = false;
  210. this.Hide();
  211. ViewManager.Show(ViewName.DRESS_UP_VIEW);
  212. isOpen = false;
  213. });
  214. }
  215. private void OnClickBtnZhaiXing()
  216. {
  217. LogServerHelper.SendNodeLog((int)PlayParticipationEnum.ZAI_XING, 1);
  218. if (isOpen) return;
  219. isOpen = true;
  220. _ui.m_btnZhaiXing.m_holder1.visible = true;
  221. Timers.inst.Add(effectTime, 1, (param) =>
  222. {
  223. _ui.m_btnZhaiXing.m_holder1.visible = false;
  224. ViewManager.Show(ViewName.LUCKY_BOX_VIEW, null, null, false, true);
  225. isOpen = false;
  226. });
  227. }
  228. private void OnClickBtnXiuFang()
  229. {
  230. if (isOpen) return;
  231. isOpen = true;
  232. _ui.m_btnXiuFang.m_holder1.visible = true;
  233. Timers.inst.Add(effectTime, 1, (param) =>
  234. {
  235. _ui.m_btnXiuFang.m_holder1.visible = false;
  236. ViewManager.Show(ViewName.XIU_FANG_VIEW, null, new object[] { ViewName.MAINUI_VIEW, this.viewData });
  237. isOpen = false;
  238. });
  239. }
  240. private void OnClickBtnDailyLogin()
  241. {
  242. // if (isOpen) return;
  243. // isOpen = true;
  244. _ui.m_btnDailyLogin.m_holder.visible = true;
  245. // Timers.inst.Add(effectTime, 1, (param) =>
  246. // {
  247. // _ui.m_btnDailyLogin.m_holder.visible = false;
  248. // List<string> list = new List<string>();
  249. // list.Add("StudioView");
  250. // list.Add("XiuFangView");
  251. // ViewManager.Show<FunctionOpenView>(list);
  252. LogServerHelper.SendNodeLog((int)PlayParticipationEnum.MEI_RI_DNEG_LU, 1);
  253. ViewManager.Show<DailyLoginView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData });
  254. // isOpen = false;
  255. // });
  256. }
  257. private void OnClickBtnCiPai()
  258. {
  259. LogServerHelper.SendNodeLog((int)PlayParticipationEnum.CI_PAI, 1);
  260. if (isOpen) return;
  261. isOpen = true;
  262. _ui.m_btnCiPai.m_holder1.visible = true;
  263. Timers.inst.Add(effectTime, 1, (param) =>
  264. {
  265. _ui.m_btnCiPai.m_holder1.visible = false;
  266. ViewManager.Show(ViewName.CARD_DETAIL_VIEW, null, new object[] { ViewName.MAINUI_VIEW, this.viewData });
  267. isOpen = false;
  268. });
  269. }
  270. private void OnClickBtnStudio()
  271. {
  272. ViewManager.Show<StudioView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData });
  273. }
  274. private void OnClickBtnField()
  275. {
  276. LogServerHelper.SendNodeLog((int)PlayParticipationEnum.TIAN_YE_DIAO_CHA, 1);
  277. ViewManager.Show<FieldView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData });
  278. }
  279. private void OnClickBtnStore()
  280. {
  281. LogServerHelper.SendNodeLog((int)PlayParticipationEnum.SHANG_CHENG, 1);
  282. ViewManager.Show(ViewName.RECHARGE_STORE_VIEW);
  283. }
  284. private void OnClickBtnTuJian()
  285. {
  286. LogServerHelper.SendNodeLog((int)PlayParticipationEnum.TU_JIAN, 1);
  287. ViewManager.Show(ViewName.FIELD_GUIDE_VIEW, null, new object[] { ViewName.MAINUI_VIEW, this.viewData });
  288. }
  289. private void OnClickBtnYouJian()
  290. {
  291. ViewManager.Show<MailView>();
  292. }
  293. private void OnClickBtnHaoYou()
  294. {
  295. ViewManager.Show<FriendView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData }, true);
  296. }
  297. private void OnClickBtnGongGao()
  298. {
  299. // /null, new object[] { ViewName.MAINUI_VIEW, this.viewData }
  300. ViewManager.Show<NoticeView>();
  301. }
  302. private void OnClickBtnRenWu()
  303. {
  304. LogServerHelper.SendNodeLog((int)PlayParticipationEnum.MEI_RI_REN_WU, 1);
  305. ViewManager.Show<DailyTaskView>();
  306. }
  307. private void OnClickHeadBar()
  308. {
  309. GUIUtility.systemCopyBuffer = RoleDataManager.roleName;
  310. ViewManager.Show(ViewName.ROLE_INFO_VIEW);
  311. }
  312. private void Update(object param)
  313. {
  314. ShowExitAlert();
  315. }
  316. private void ShowExitAlert()
  317. {
  318. if (Input.GetKeyDown(KeyCode.Escape) || Input.GetKeyDown(KeyCode.Home))
  319. {
  320. AlertSystem.Show("我会想你的")
  321. .SetLeftButton(true, "继续游戏")
  322. .SetRightButton(true, "退出游戏", (object data) =>
  323. {
  324. Application.Quit();
  325. });
  326. }
  327. }
  328. private void OnNumericChange(EventContext context)
  329. {
  330. if ((int)context.data == NumericType.Lvl)
  331. {
  332. UpdateRoleLvl();
  333. CheckFunOpen();
  334. }
  335. }
  336. private void UpdateRoleLvl()
  337. {
  338. _ui.m_headBar.m_txtLvl.text = "" + GameGlobal.myNumericComponent.GetAsInt(NumericType.Lvl);
  339. }
  340. private void CheckFunOpen()
  341. {
  342. _ui.m_btnXiuFang.target.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(XiuFangView).Name, false);
  343. _ui.m_btnMain.target.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(StoryChapterListView).Name, false);
  344. // _ui.m_btnStudio.target.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(StudioView).Name, false);
  345. _ui.m_btnHuanZhuang.target.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DressUpView).Name, false);
  346. _ui.m_btnZhaiXing.target.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(LuckyBoxView).Name, false);
  347. _ui.m_btnCiPai.target.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(CardDetailView).Name, false);
  348. _ui.m_btnDailyLogin.target.visible = !(!FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DailyLoginView).Name, false)
  349. || (ActivityDataManager.Instance.dailyLoginId >= 7 && ActivityDataManager.Instance.dailyLoginBonusStatus == ConstBonusStatus.GOT));
  350. // _ui.m_btnField.target.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(FieldView).Name, false);
  351. _ui.m_btnHuanZhuang.target.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DressUpView).Name, false);
  352. _btnGongGao.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(NoticeView).Name, false);
  353. _btnHaoYou.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(FriendView).Name, false);
  354. _btnYouJian.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(MailView).Name, false);
  355. _btnStore.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(RechargeStoreView).Name, false);
  356. _btnTuJian.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(FieldGuideView).Name, false);
  357. _btnStudio.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(StudioView).Name, false);
  358. _btnField.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(FieldView).Name, false);
  359. // _btnTianGong.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(CardDetailView).Name, false);
  360. // _btnPengYouQuan.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(CardDetailView).Name, false);
  361. // _btnJInShu.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(CardDetailView).Name, false);
  362. }
  363. private void UpdateRedDot()
  364. {
  365. RedDotController.Instance.SetComRedDot(_btnGongGao, RedDotDataManager.Instance.GetNoticeRed());
  366. RedDotController.Instance.SetComRedDot(_btnRenWu, RedDotDataManager.Instance.GetTaskRed());
  367. RedDotController.Instance.SetComRedDot(_ui.m_btnDailyLogin.target, RedDotDataManager.Instance.GetDailyLoginRed());
  368. RedDotController.Instance.SetComRedDot(_btnYouJian, RedDotDataManager.Instance.GetMailRed());
  369. RedDotController.Instance.SetComRedDot(_btnTuJian, RedDotDataManager.Instance.GetFieldGuideRed());
  370. RedDotController.Instance.SetComRedDot(_btnHaoYou, RedDotDataManager.Instance.GetFriendRed());
  371. RedDotController.Instance.SetComRedDot(_btnStore, RedDotDataManager.Instance.GetRechargeGiftFreeRed());
  372. RedDotController.Instance.SetComRedDot(_btnField, RedDotDataManager.Instance.GetFieldRed());
  373. }
  374. private void CheckGuide(object param)
  375. {
  376. if (GuideDataManager.IsGuideFinish(ConstGuideId.LUCKY_BOX) <= 0
  377. || GuideDataManager.IsGuideFinish(ConstGuideId.FREEDOM_DRESS) <= 0
  378. || GuideDataManager.IsGuideFinish(ConstGuideId.CLOTHING_DECOMPOSE) <= 0
  379. || GuideDataManager.IsGuideFinish(ConstGuideId.CLOTHING_SYNTHETIC) <= 0
  380. || GuideDataManager.IsGuideFinish(ConstGuideId.UP_CARD_LV) <= 0
  381. || GuideDataManager.IsGuideFinish(ConstGuideId.STUDIO_OPEN) <= 0
  382. || GuideDataManager.IsGuideFinish(ConstGuideId.SUIT_LIST_VIEW) <= 0)
  383. {
  384. UpdateToCheckGuide(null);
  385. }
  386. else
  387. {
  388. Timers.inst.Remove(CheckGuide);
  389. }
  390. }
  391. protected override void UpdateToCheckGuide(object param)
  392. {
  393. if (!ViewManager.CheckIsTopView(this.viewCom)) return;
  394. GuideController.TryGuide(_ui.m_btnZhaiXing.target, ConstGuideId.LUCKY_BOX, 2, "“摘星”里可以通过星辰的力量获得服饰。", -1, true);
  395. GuideController.TryCompleteGuide(ConstGuideId.FREEDOM_DRESS, 6);
  396. GuideController.TryGuide(_ui.m_btnHuanZhuang.target, ConstGuideId.FREEDOM_DRESS, 2, "在这里,可以自由搭配服饰和分享哦。", -1, false);
  397. GuideController.TryGuide(_ui.m_btnXiuFang.target, ConstGuideId.CLOTHING_DECOMPOSE, 2, "绣坊里增添了新功能。", -1, false);
  398. GuideController.TryGuide(_ui.m_btnXiuFang.target, ConstGuideId.CLOTHING_SYNTHETIC, 1, "进入绣坊界面。", -1, false);
  399. GuideController.TryCompleteGuide(ConstGuideId.CLOTHING_SYNTHETIC, 7);
  400. GuideController.TryGuide(_ui.m_btnCiPai.target, ConstGuideId.UP_CARD_LV, 2, "获得了一张“词牌”,点击查看。", -1, false, 0, 0, 0, true, true);
  401. GuideController.TryGuide(_btnStudio, ConstGuideId.STUDIO_OPEN, 1, "工作室开门啦,进去看看。");
  402. GuideController.TryGuide(_ui.m_btnXiuFang.target, ConstGuideId.SUIT_LIST_VIEW, 1, "获得“天衣”服饰后,可进行养护和焕新,到绣坊看看。");
  403. GuideController.TryCompleteGuide(ConstGuideId.STUDIO_OPEN, 2);
  404. }
  405. }
  406. }