TutorialManager.cs 41 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339
  1. using System;
  2. using UnityEngine;
  3. using UnityEngine.UI;
  4. using System.Collections;
  5. using System.Collections.Generic;
  6. public class TutorialManager : Regist
  7. {
  8. #region Config
  9. public static bool PayExempt
  10. {
  11. get
  12. {
  13. if (payExempt)
  14. {
  15. return true;
  16. }
  17. else
  18. {
  19. if (PayExemptAmt > 0)
  20. {
  21. PayExemptAmt--;
  22. return true;
  23. }
  24. else
  25. {
  26. return false;
  27. }
  28. }
  29. }
  30. set { payExempt = value; }
  31. }
  32. public static bool payExempt;
  33. public static int PayExemptAmt;
  34. public static bool ConnectExempt
  35. {
  36. get
  37. {
  38. if (connectExempt)
  39. {
  40. return true;
  41. }
  42. else
  43. {
  44. if (ConnectExemptAmt > 0)
  45. {
  46. ConnectExemptAmt--;
  47. return true;
  48. }
  49. else
  50. {
  51. return false;
  52. }
  53. }
  54. }
  55. set { connectExempt = value; }
  56. }
  57. public static bool connectExempt;
  58. public static int ConnectExemptAmt;
  59. public static int MemoryMinigameTutorialLevel = 18;
  60. public static int VisitTutorialLevel = 8;
  61. public static int CommentTutorialLevel = 8;
  62. public static int DressroomTutorialLevel = 13;
  63. public static int FindMinigameTutorialLevel = 22;
  64. public static int PlazaRoomTutorialLevel = 28;
  65. public static int SetNicknameTutorialIndex = 7;
  66. public static int MinFlowerForFindGame = 2;
  67. public static bool NewplayerTutorial;
  68. public static int NewplayerTutorialIndex;
  69. public static bool MemoryMinigameTutorial;
  70. public static bool memoryMinigameTutorial;
  71. public static int MemoryMinigameTutorialIndex;
  72. public static bool VisitTutorial;
  73. public static bool visitTutorial;
  74. public static int VisitTutorialIndex;
  75. public static bool DressroomTutorial;
  76. public static bool dressroomTutorial;
  77. public static int DressroomTutorialIndex;
  78. public static bool FindMinigameTutorial;
  79. public static bool findMinigameTutorial;
  80. public static int FindMinigameTutorialIndex;
  81. public static bool PlazaRoomTutorial;
  82. public static bool plazaRoomTutorial;
  83. public static int PlazaRoomTutorialIndex;
  84. #endregion
  85. public override void InstantiatePrefabs()
  86. {
  87. if (NewplayerTutorial)
  88. {
  89. ResourceManager.Get(ResourceLabel.Tutorial, Folder.Scene, true, transform, false, ObjType.Tutorial).AddScript<Tutorial>();
  90. }
  91. }
  92. public override void ThirdInit()
  93. {
  94. ResourceManager.Get<Image>(CanvasLabel.N_Mask).material = Lib.UIMaskMat;
  95. Tutorial.Arrow = ResourceManager.Get(CanvasLabel.N_Arrow);
  96. Tutorial.Material = ResourceManager.Get<Image>(CanvasLabel.N_Mask).material;
  97. if (NewplayerTutorial)
  98. {
  99. ResourceManager.Get(TutorialLabel.TutorialMask).AddScript<SceneMask>();
  100. Vector3 playerDisplayScale = new Vector3(0.75f, 0.75f, 0.75f);
  101. Vector3 playerSelectScale = new Vector3(0.9f, 0.9f, 0.9f);
  102. ResourceManager.Get(TutorialLabel.Tutorial).CreateTweenSr(0, 1, 1f, true, true, Curve.EaseOutQuad, false, true).AlphaOnly = true;
  103. ResourceManager.Get(TutorialLabel.PlayerBk1).CreateTweenScale(playerDisplayScale, playerSelectScale, 1f, true, true, Curve.EaseOutQuad);
  104. ResourceManager.Get(TutorialLabel.PlayerBk2).CreateTweenScale(playerDisplayScale, playerSelectScale, 1f, true, true, Curve.EaseOutQuad);
  105. ResourceManager.Get(TutorialLabel.PlayerBk3).CreateTweenScale(playerDisplayScale, playerSelectScale, 1f, true, true, Curve.EaseOutQuad);
  106. ResourceManager.Get(TutorialLabel.TutorialMask).CreateTweenSr(0, 180 / 255f, 0.25f, true, true, Curve.EaseOutQuad);
  107. if (NewplayerTutorialIndex == 1)
  108. {
  109. ResourceManager.Get(CanvasLabel.C_MiniGame).TweenBacCG();
  110. ChoseCharacter();
  111. }
  112. else if (NewplayerTutorialIndex == SetNicknameTutorialIndex)
  113. {
  114. SetNickname();
  115. }
  116. else if (NewplayerTutorialIndex == 2)
  117. {
  118. ClickEnterMinigame();
  119. }
  120. else if (NewplayerTutorialIndex == 4)
  121. {
  122. ResourceManager.Get(CanvasLabel.C_MiniGame).TweenBacCG();
  123. ResourceManager.SetActive(CanvasLabel.N_Tutorial, true);
  124. ResourceManager.SetActive(TutorialLabel.Tutorial, true);
  125. ResourceManager.SetActive(TutorialLabel.TutorialMask, true);
  126. ResourceManager.SetActive(TutorialLabel.TutorialCollider, true);
  127. Garden.Instance.TutorialToRegular();
  128. UIManager.Instance.TutorialToRegular();
  129. Transform tra = GardenManager.SlotList[0].transform;
  130. Tutorial.HightScene(0.1f, 0.075f, tra.FindChild(SlotLabel.SlotArrow), tra);
  131. }
  132. else if (NewplayerTutorialIndex == 6)
  133. {
  134. ResourceManager.Get(CanvasLabel.C_MiniGame).TweenBacCG();
  135. Garden.Instance.TutorialToRegular();
  136. UIManager.Instance.TutorialToRegular();
  137. ClickManagePanel();
  138. }
  139. }
  140. }
  141. public static void EndChoseCharacter()
  142. {
  143. StaticsManager.GetInstance().TutoComplete("EndChoseCharacter");
  144. Destroy(ResourceManager.Get(TutorialLabel.PlayerBk1).gameObject);
  145. Destroy(ResourceManager.Get(TutorialLabel.PlayerBk2).gameObject);
  146. Destroy(ResourceManager.Get(TutorialLabel.PlayerBk3).gameObject);
  147. SetNickname();
  148. }
  149. public static void EndSetNickname()
  150. {
  151. NickNameManager.CloseNickNameSettingPanel();
  152. NickNameManager.OnSetNickNameSucceed = null;
  153. StaticsManager.GetInstance().TutoComplete("EndSetNickname");
  154. ClickEnterMinigame();
  155. }
  156. public static void EndClickEnterMinigame()
  157. {
  158. StaticsManager.GetInstance().TutoComplete("EndClickEnterMinigame");
  159. Tutorial.HightDisable();
  160. PlayPunchMinigame();
  161. }
  162. public static void EndPlayPunchMinigame()
  163. {
  164. StaticsManager.GetInstance().TutoComplete("EndPlayPunchMinigame");
  165. Tutorial.HightDisable();
  166. ResourceManager.SetActive(CanvasLabel.D_Quit, true);
  167. ClickSlot();
  168. }
  169. public static void EndClickSlot()
  170. {
  171. StaticsManager.GetInstance().TutoComplete("EndClickSlot");
  172. Tutorial.HightDisable();
  173. PlantFlower();
  174. }
  175. public static void EndPlantFlower()
  176. {
  177. StaticsManager.GetInstance().TutoComplete("EndPlantFlower");
  178. ClickManagePanel();
  179. }
  180. public static void EndClickManagePanel()
  181. {
  182. StaticsManager.GetInstance().TutoComplete("EndClickManagePanel");
  183. Tutorial.HightDisable();
  184. OpenUnlockPanel();
  185. }
  186. public static void EndOpenUnlockPanel()
  187. {
  188. StaticsManager.GetInstance().TutoComplete("EndOpenUnlockPanel");
  189. Tutorial.HightDisable(0, true);
  190. ClickConfirmButton();
  191. }
  192. public static void EndClickConfirmButton()
  193. {
  194. StaticsManager.GetInstance().TutoComplete("EndClickConfirmButton");
  195. Tutorial.HightDisable(0, true);
  196. UseBigSkill();
  197. }
  198. public static void EndUseBigSkill()
  199. {
  200. Tutorial.HightDisable(0, false);
  201. }
  202. public static void EndShowTip()
  203. {
  204. StaticsManager.GetInstance().TutoComplete("EndShowTip");
  205. NewplayerTutorial = false;
  206. AudioManager.PlayClip(AudioLabel.Close);
  207. AchieveManager.UpdateHint();
  208. Tutorial.HightDisable();
  209. ResourceManager.Get(CanvasLabel.F_TipBK).TweenBacCG();
  210. ResourceManager.SetActive(CanvasLabel.F_TipBtn, false);
  211. ResourceManager.SetActive(TutorialLabel.Tutorial, false);
  212. ResourceManager.SetActive(CanvasLabel.N_Tutorial, false);
  213. ResourceManager.Get(CanvasLabel.C_MiniGame).TweenForCG();
  214. PlayerManager.Player.SetAllCollider(true);
  215. PayExemptAmt = 0;
  216. ConnectExempt = false;
  217. }
  218. public static void ChoseCharacter()
  219. {
  220. NewplayerTutorialIndex = 1;
  221. PlayerManager.DefaultPinkPlayer.CreateTweenScale(0.9f, 1f, true, true, Curve.EaseOutQuad);
  222. PlayerManager.DefaultBlondPlayer.CreateTweenScale(0.9f, 1f, true, true, Curve.EaseOutQuad);
  223. PlayerManager.DefaultBrownPlayer.CreateTweenScale(0.9f, 1f, true, true, Curve.EaseOutQuad);
  224. ResourceManager.Get(TutorialLabel.PlayerBk2).TweenForScale();
  225. PlayerManager.DefaultBlondPlayer.TweenForScale();
  226. ResourceManager.SetActive(TutorialLabel.PlayerBk1, true);
  227. ResourceManager.SetActive(TutorialLabel.PlayerBk2, true);
  228. ResourceManager.SetActive(TutorialLabel.PlayerBk3, true);
  229. ResourceManager.SetActive(TutorialLabel.TutorialMask, true);
  230. ResourceManager.SetActive(TutorialLabel.TutorialCollider, true);
  231. ResourceManager.SetActive(CanvasLabel.N_Tutorial, true);
  232. ResourceManager.SetActive(CanvasLabel.N_Confirm, true);
  233. ResourceManager.SetActive(CanvasLabel.N_FormerPlayerButton, true);
  234. ResourceManager.AddButtonEvent
  235. (
  236. CanvasLabel.N_FormerPlayerButton,
  237. () =>
  238. {
  239. AudioManager.PlayClip(AudioLabel.ClickButton);
  240. ResourceManager.Get(CanvasLabel.La_Info).TweenForCG();
  241. ResourceManager.Get(CanvasLabel.N_Confirm).TweenBacCG();
  242. ResourceManager.Get(CanvasLabel.N_FormerPlayerButton).TweenBacCG();
  243. ResourceManager.AddButtonEventOnetime
  244. (
  245. CanvasLabel.La_Cancel,
  246. () =>
  247. {
  248. ResourceManager.Get(CanvasLabel.N_Confirm).TweenForCG();
  249. ResourceManager.Get(CanvasLabel.N_FormerPlayerButton).TweenForCG();
  250. }
  251. );
  252. }
  253. );
  254. ResourceManager.AddButtonEventOnetime
  255. (
  256. CanvasLabel.N_Confirm,
  257. () =>
  258. {
  259. if (PlayerManager.SelectedPlayer == PlayerManager.DefaultPinkPlayer)
  260. {
  261. PlayerManager.DressDatas.Add("脑壳3");
  262. PlayerManager.DressDatas.Add("裙子3");
  263. PlayerManager.DressDatas.Add("鞋子3");
  264. PlayerManager.DressDatas.Add("头饰品3");
  265. PlayerManager.DressDatas.Add("上衣3");
  266. PlayerManager.DressDatas.Add("眼睛3");
  267. PlayerManager.DressDatas.Add("嘴巴3");
  268. PlayerManager.DressDatas.Add("Empty");
  269. PlayerManager.DressDatas.Add("Empty");
  270. PlayerManager.DressDatas.Add("短袖1左");
  271. PlayerManager.DressDatas.Add("Empty");
  272. PlayerManager.DressDatas.Add("短袖1右");
  273. }
  274. else if (PlayerManager.SelectedPlayer == PlayerManager.DefaultBlondPlayer)
  275. {
  276. PlayerManager.DressDatas.Add("脑壳1");
  277. PlayerManager.DressDatas.Add("裙子1");
  278. PlayerManager.DressDatas.Add("鞋子1");
  279. PlayerManager.DressDatas.Add("头饰品1");
  280. PlayerManager.DressDatas.Add("上衣1");
  281. PlayerManager.DressDatas.Add("眼睛1");
  282. PlayerManager.DressDatas.Add("嘴巴1");
  283. PlayerManager.DressDatas.Add("Empty");
  284. PlayerManager.DressDatas.Add("Empty");
  285. PlayerManager.DressDatas.Add("短袖2左");
  286. PlayerManager.DressDatas.Add("Empty");
  287. PlayerManager.DressDatas.Add("短袖2右");
  288. }
  289. else if (PlayerManager.SelectedPlayer == PlayerManager.DefaultBrownPlayer)
  290. {
  291. PlayerManager.DressDatas.Add("脑壳2");
  292. PlayerManager.DressDatas.Add("裙子2");
  293. PlayerManager.DressDatas.Add("鞋子2");
  294. PlayerManager.DressDatas.Add("头饰品2");
  295. PlayerManager.DressDatas.Add("上衣2");
  296. PlayerManager.DressDatas.Add("眼睛2");
  297. PlayerManager.DressDatas.Add("嘴巴2");
  298. PlayerManager.DressDatas.Add("Empty");
  299. PlayerManager.DressDatas.Add("Empty");
  300. PlayerManager.DressDatas.Add("短袖2左");
  301. PlayerManager.DressDatas.Add("Empty");
  302. PlayerManager.DressDatas.Add("短袖2右");
  303. }
  304. foreach (var str in PlayerManager.DressDatas)
  305. {
  306. if (!PlayerManager.CloseIDDictionary.ContainsKey(str))
  307. {
  308. continue;
  309. }
  310. int id = PlayerManager.CloseIDDictionary[str];
  311. PlayerManager.CloseItemDictionary[id].Unlock();
  312. PlayerManager.BoughtCloseIDs.Add(id);
  313. }
  314. ConfigManager.SaveDress();
  315. Transform tra = PlayerManager.SelectedPlayer;
  316. PlayerManager.Player = tra.GetComponent<Player>();
  317. tra.parent = null;
  318. ResourceManager.TransformDictionary.Add(tra.name, tra);
  319. AudioManager.PlayClip(AudioLabel.ClickButton);
  320. if (PlayerManager.DefaultPinkPlayer != PlayerManager.SelectedPlayer)
  321. {
  322. PlayerManager.DefaultPinkPlayer.GetComponentInChildren<Renderer>(true).CreateTweenRenderer(0, 0.25f, true, false, Curve.EaseOutQuad, false, true).StartForward();
  323. }
  324. if (PlayerManager.DefaultBlondPlayer != PlayerManager.SelectedPlayer)
  325. {
  326. PlayerManager.DefaultBlondPlayer.GetComponentInChildren<Renderer>(true).CreateTweenRenderer(0, 0.25f, true, false, Curve.EaseOutQuad, false, true).StartForward();
  327. }
  328. if (PlayerManager.DefaultBrownPlayer != PlayerManager.SelectedPlayer)
  329. {
  330. PlayerManager.DefaultBrownPlayer.GetComponentInChildren<Renderer>(true).CreateTweenRenderer(0, 0.25f, true, false, Curve.EaseOutQuad, false, true).StartForward();
  331. }
  332. ResourceManager.Get(TutorialLabel.PlayerBk1).SetCollider(false);
  333. ResourceManager.Get(TutorialLabel.PlayerBk2).SetCollider(false);
  334. ResourceManager.Get(TutorialLabel.PlayerBk3).SetCollider(false);
  335. tra.CreateTweenScale(ResourceManager.Get(GardenLabel.GardenPlayerPos).localScale, 1f, true, true, Curve.EaseOutQuad);
  336. tra.CreateTweenVec3D(ResourceManager.Get(GardenLabel.GardenPlayerPos).position, 1f, false, true, true, Curve.EaseOutQuad);
  337. tra.SetParent(ResourceManager.Get(GardenLabel.GardenPivot));
  338. tra.TweenForVec();
  339. tra.TweenForScale();
  340. ResourceManager.Get(CanvasLabel.N_Confirm).TweenBacCG();
  341. ResourceManager.Get(CanvasLabel.N_FormerPlayerButton).TweenBacCG();
  342. TweenRoot tween = ResourceManager.Get(TutorialLabel.Tutorial).TweenBacSr();
  343. tween.AddEventOnetime
  344. (
  345. EventType.BackwardFinish,
  346. () =>
  347. {
  348. EndChoseCharacter();
  349. }
  350. );
  351. }
  352. );
  353. }
  354. public static void SetNickname()
  355. {
  356. NewplayerTutorialIndex = SetNicknameTutorialIndex;
  357. NickNameManager.ShowNickNameSettingPanelFirstTime();
  358. NickNameManager.OnSetNickNameSucceed = EndSetNickname;
  359. }
  360. public static void ClickEnterMinigame()
  361. {
  362. NewplayerTutorialIndex = 2;
  363. Garden.Instance.TutorialToRegular();
  364. UIManager.Instance.TutorialToRegular();
  365. ResourceManager.Get(CanvasLabel.C_Group).TweenForCG();
  366. ResourceManager.Get(CanvasLabel.C_MiniGame).TweenReForCG();
  367. ResourceManager.SetActive(CanvasLabel.C_Coin, false);
  368. ResourceManager.SetActive(CanvasLabel.C_Group1, false);
  369. ResourceManager.SetActive(CanvasLabel.C_Group3, false);
  370. ResourceManager.SetActive(CanvasLabel.N_Tutorial, true);
  371. TweenRoot tween = ResourceManager.Get(CanvasLabel.N_Mask).TweenForGra();
  372. tween.AddEventOnetime
  373. (
  374. EventType.ForwardFinish,
  375. () =>
  376. {
  377. Tutorial.HightScreen(ResourceManager.Get(CanvasLabel.C_MiniArrow0), ResourceManager.Get(CanvasLabel.C_MiniArrow1), ResourceManager.Get(CanvasLabel.C_MiniGame));
  378. }
  379. );
  380. ResourceManager.AddButtonEventOnetime
  381. (
  382. CanvasLabel.C_MiniGame,
  383. () =>
  384. {
  385. EndClickEnterMinigame();
  386. }
  387. );
  388. }
  389. public static void PlayPunchMinigame()
  390. {
  391. ResourceManager.Get(TutorialLabel.Tutorial).SetCollider(false);
  392. ResourceManager.SetActive(CanvasLabel.D_Quit, false);
  393. TweenRoot tween = ResourceManager.Get(CanvasLabel.D_MiniGame).GetTweenCG();
  394. tween.AddEventOnetime
  395. (
  396. EventType.ForwardFinish,
  397. () =>
  398. {
  399. Tutorial.HightScreen(ResourceManager.Get(CanvasLabel.D_BeginArrow0), ResourceManager.Get(CanvasLabel.D_BeginArrow1), ResourceManager.Get(CanvasLabel.D_Begin));
  400. }
  401. );
  402. ResourceManager.PushButtonEventOnetime
  403. (
  404. CanvasLabel.D_Begin,
  405. () =>
  406. {
  407. Tutorial.HightDisable();
  408. }
  409. );
  410. ResourceManager.AddButtonEventOnetime
  411. (
  412. CanvasLabel.Da_GetAward,
  413. () =>
  414. {
  415. EndPlayPunchMinigame();
  416. ResourceManager.Get(CanvasLabel.C_MiniGame).TweenBacCG();
  417. }
  418. );
  419. }
  420. public static void ClickSlot()
  421. {
  422. NewplayerTutorialIndex = 4;
  423. TweenRoot tween = ResourceManager.Get(CanvasLabel.D_MiniGame).GetTweenCG();
  424. tween.AddEventOnetime
  425. (
  426. EventType.BackwardFinish,
  427. () =>
  428. {
  429. ResourceManager.Get(TutorialLabel.Tutorial).SetCollider(true);
  430. ResourceManager.Get<SpriteRenderer>(TutorialLabel.TutorialMask).material.SetAlpha(MaterialLabel.DefaultMatColor, 1);
  431. ResourceManager.SetActive(TutorialLabel.TutorialMask, true);
  432. ResourceManager.SetActive(TutorialLabel.TutorialCollider, true);
  433. Transform tra = GardenManager.SlotList[0].transform;
  434. Tutorial.HightScene(0.1f, 0.075f, tra.FindChild(SlotLabel.SlotArrow), tra);
  435. }
  436. );
  437. }
  438. public static void PlantFlower()
  439. {
  440. TweenRoot tween = ResourceManager.Get(CanvasLabel.G_Flower).TweenForCG();
  441. tween.AddEventOnetime
  442. (
  443. EventType.ForwardFinish,
  444. () =>
  445. {
  446. Transform tra = ResourceManager.Get(CanvasLabel.G_RegularGrid).GetChild(0);
  447. Tutorial.HightScreen(tra.FindChild(FlowerItemLabel.ArrowPos), tra);
  448. }
  449. );
  450. FlowerInfo flowerInfo = GardenManager.FlowerInfoDictionary[1];
  451. flowerInfo.Button.AddButtonEventOnetime
  452. (
  453. () =>
  454. {
  455. Tutorial.HightDisable(0, true);
  456. }
  457. );
  458. tween = ResourceManager.Get(CanvasLabel.H_FlowerCard).GetTweenCG();
  459. tween.AddEventOnetime
  460. (
  461. EventType.ForwardFinish,
  462. () =>
  463. {
  464. Tutorial.HightScreen(ResourceManager.Get(CanvasLabel.H_ArrowPos), ResourceManager.Get(CanvasLabel.H_Icon2));
  465. }
  466. );
  467. ResourceManager.AddButtonEventOnetime
  468. (
  469. CanvasLabel.H_Icon2,
  470. () =>
  471. {
  472. Tutorial.HightDisable(0, true);
  473. ResourceManager.Get(CanvasLabel.H_FlowerCard).TweenBacCG();
  474. }
  475. );
  476. tween = ResourceManager.Get(CanvasLabel.H_FlowerCard).GetTweenCG();
  477. tween.AddEventOnetime
  478. (
  479. EventType.BackwardFinish,
  480. () =>
  481. {
  482. Tutorial.HightScreen(ResourceManager.Get(CanvasLabel.G_Arrow0), ResourceManager.Get(CanvasLabel.G_Close));
  483. }
  484. );
  485. ResourceManager.AddButtonEventOnetime
  486. (
  487. CanvasLabel.G_Close,
  488. () =>
  489. {
  490. Tutorial.HightDisable();
  491. }
  492. );
  493. tween = ResourceManager.Get(CanvasLabel.G_Flower).GetTweenCG();
  494. tween.AddEventOnetime
  495. (
  496. EventType.BackwardFinish,
  497. () =>
  498. {
  499. EndPlantFlower();
  500. }
  501. );
  502. }
  503. public static void ClickManagePanel()
  504. {
  505. NewplayerTutorialIndex = 6;
  506. ResourceManager.SetActive(CanvasLabel.C_Coin, true);
  507. ResourceManager.SetActive(CanvasLabel.C_Group1, true);
  508. ResourceManager.SetActive(CanvasLabel.C_Group3, true);
  509. ResourceManager.SetActive(CanvasLabel.N_Tutorial, true);
  510. TweenRoot tween = ResourceManager.Get(CanvasLabel.C_Group).TweenForCG();
  511. tween.AddEventOnetime
  512. (
  513. EventType.ForwardFinish, () =>
  514. {
  515. Tutorial.HightScreen(ResourceManager.Get(CanvasLabel.C_ManageArrow0), ResourceManager.Get(CanvasLabel.C_Manage));
  516. }
  517. );
  518. ResourceManager.AddButtonEventOnetime
  519. (
  520. CanvasLabel.C_Manage,
  521. () =>
  522. {
  523. EndClickManagePanel();
  524. }
  525. );
  526. }
  527. public static void OpenUnlockPanel()
  528. {
  529. TweenRoot tween = ResourceManager.Get(CanvasLabel.F_Manage0).GetTweenVec();
  530. tween.AddEventOnetime
  531. (
  532. EventType.ForwardFinish,
  533. () =>
  534. {
  535. Transform tra = Manager.SkillDictionary["Ability1"].SkillItem;
  536. Tutorial.HightScreen(tra.FindChild(SkillItemLabel.ArrowPosition), tra.FindChild(SkillItemLabel.ArrowDestination), tra.FindChild(SkillItemLabel.Button));
  537. }
  538. );
  539. SkillRoot skill = Manager.SkillDictionary["Ability1"];
  540. skill.button.AddButtonEventOnetime
  541. (
  542. () =>
  543. {
  544. Tutorial.HightDisable(0, true);
  545. PayExemptAmt = 1;
  546. }
  547. );
  548. tween = ResourceManager.Get(CanvasLabel.Fe_Info).GetTweenCG();
  549. tween.AddEventOnetime
  550. (
  551. EventType.ForwardFinish,
  552. () =>
  553. {
  554. Tutorial.HightScreen(ResourceManager.Get(CanvasLabel.Fe_Arrow0), ResourceManager.Get(CanvasLabel.Fe_Arrow1), ResourceManager.Get(CanvasLabel.Fe_Btn));
  555. ResourceManager.AddButtonEventOnetime
  556. (
  557. CanvasLabel.Fe_Btn,
  558. () =>
  559. {
  560. ResourceManager.Get(CanvasLabel.Fe_Info).TweenBacCG();
  561. EndOpenUnlockPanel();
  562. }
  563. );
  564. }
  565. );
  566. }
  567. public static void ClickConfirmButton()
  568. {
  569. TweenRoot tween = ResourceManager.Get(CanvasLabel.Fe_Info).GetTweenCG();
  570. tween.AddEventOnetime
  571. (
  572. EventType.BackwardFinish,
  573. () =>
  574. {
  575. Transform tra = Manager.SkillDictionary["Skill1"].SkillItem;
  576. Tutorial.HightScreen(tra.FindChild(SkillItemLabel.ArrowPosition), tra.FindChild(SkillItemLabel.ArrowDestination), tra.FindChild(SkillItemLabel.Button));
  577. }
  578. );
  579. SkillRoot skill = Manager.SkillDictionary["Skill1"];
  580. skill.button.AddButtonEventOnetime
  581. (
  582. () =>
  583. {
  584. Tutorial.HightDisable(0, true);
  585. PayExemptAmt = 1;
  586. }
  587. );
  588. tween = ResourceManager.Get(CanvasLabel.Fe_Info).GetTweenCG();
  589. tween.AddEventOnetime
  590. (
  591. EventType.ForwardFinish,
  592. () =>
  593. {
  594. Tutorial.HightScreen(ResourceManager.Get(CanvasLabel.Fe_Arrow0), ResourceManager.Get(CanvasLabel.Fe_Arrow1), ResourceManager.Get(CanvasLabel.Fe_Btn));
  595. ResourceManager.AddButtonEventOnetime
  596. (
  597. CanvasLabel.Fe_Btn,
  598. () =>
  599. {
  600. ResourceManager.Get(CanvasLabel.Fe_Info).TweenBacCG();
  601. EndClickConfirmButton();
  602. }
  603. );
  604. }
  605. );
  606. }
  607. public static void UseBigSkill()
  608. {
  609. TweenRoot tween = ResourceManager.Get(CanvasLabel.Fe_Info).GetTweenCG();
  610. tween.AddEventOnetime
  611. (
  612. EventType.BackwardFinish,
  613. () =>
  614. {
  615. ConnectExempt = true;
  616. Tutorial.HightScreen(ResourceManager.Get(CanvasLabel.F_Arrow0), ResourceManager.Get(CanvasLabel.F_Skill1));
  617. }
  618. );
  619. ResourceManager.AddButtonEventOnetime
  620. (
  621. CanvasLabel.F_SkillBk11,
  622. () =>
  623. {
  624. EndUseBigSkill();
  625. ShowTip();
  626. }
  627. );
  628. }
  629. public static void ShowTip()
  630. {
  631. ResourceManager.Get(CanvasLabel.N_Mask).TweenForGra();
  632. ResourceManager.Get(CanvasLabel.F_TipBK).TweenForCG();
  633. ResourceManager.SetText(CanvasLabel.F_Tip, Language.GetStr(LanguageLabel.UI__F_Tip));
  634. ResourceManager.SetActive(CanvasLabel.F_TipBtn, true);
  635. ResourceManager.AddButtonEventOnetime(CanvasLabel.F_TipBtn, () => EndShowTip());
  636. ResourceManager.Get<ContentSizeFitter>(CanvasLabel.F_TipBK).SetLayoutVertical();
  637. ResourceManager.Get<ContentSizeFitter>(CanvasLabel.F_TipBK).SetLayoutHorizontal();
  638. Tutorial.HightScreen(ResourceManager.Get(CanvasLabel.F_CoinLabArrow), ResourceManager.Get(CanvasLabel.F_TipBtn), 3);
  639. Tutorial.HightScreen(ResourceManager.Get(CanvasLabel.F_CoinLabArrow), ResourceManager.Get(CanvasLabel.F_TipBK), 1);
  640. Tutorial.HightScreen(ResourceManager.Get(CanvasLabel.F_CoinLabArrow), ResourceManager.Get(CanvasLabel.F_Tip), 2);
  641. Tutorial.HightScreen(ResourceManager.Get(CanvasLabel.F_CoinLabArrow), ResourceManager.Get(CanvasLabel.F_DataB), 1);
  642. Tutorial.HightScreen(ResourceManager.Get(CanvasLabel.F_CoinLabArrow), ResourceManager.Get(CanvasLabel.F_CoinLab), 2);
  643. Tutorial.HightScreen(ResourceManager.Get(CanvasLabel.F_CoinLabArrow), ResourceManager.Get(CanvasLabel.F_DiamondLab), 2);
  644. }
  645. public static void EndClickVisitBtn()
  646. {
  647. StaticsManager.GetInstance().TutoComplete("EndClickVisitBtn");
  648. Tutorial.HightDisable();
  649. VisitTutorial = false;
  650. ResourceManager.SetActive(CanvasLabel.N_Tutorial, false);
  651. PayExemptAmt = 0;
  652. ConnectExemptAmt = 0;
  653. }
  654. public static void ClickVisitBtn()
  655. {
  656. VisitTutorial = true;
  657. visitTutorial = false;
  658. UIManager.BlockOfflinePanel();
  659. TweenRoot tweenRoot = ResourceManager.Get(CanvasLabel.F_Manage0).GetTweenVec();
  660. if (tweenRoot.InDestination)
  661. {
  662. TweenRoot tween = ResourceManager.Get(CanvasLabel.Fe_Info).TweenBacCG();
  663. tween.AddEventOnetime
  664. (
  665. EventType.BackwardFinish,
  666. () =>
  667. {
  668. ResourceManager.Get(CanvasLabel.F_Manage).TweenBacGra();
  669. tween = ResourceManager.Get(CanvasLabel.F_Manage0).GetTweenVec();
  670. tween.AddEventOnetime
  671. (
  672. EventType.BackwardFinish,
  673. () =>
  674. {
  675. ShowVisitBtn();
  676. }
  677. );
  678. }
  679. );
  680. }
  681. else
  682. {
  683. ShowVisitBtn();
  684. }
  685. ResourceManager.AddButtonEventOnetime
  686. (
  687. CanvasLabel.C_Return,
  688. () =>
  689. {
  690. TweenRoot tween = ResourceManager.Get(CanvasLabel.I_BlackMask).GetTweenCG();
  691. tween.AddEventOnetime
  692. (
  693. EventType.BackwardFinish,
  694. () =>
  695. {
  696. UIManager.UnblockOfflinePanel();
  697. }
  698. );
  699. }
  700. );
  701. }
  702. public static void ShowVisitBtn()
  703. {
  704. ResourceManager.Get(CanvasLabel.C_Main).TweenReForCG();
  705. ResourceManager.Get(CanvasLabel.C_Group).TweenReForCG();
  706. ResourceManager.Get(CanvasLabel.C_Group0).TweenReForCG();
  707. TweenRoot tween = ResourceManager.Get(CanvasLabel.C_Group).GetTweenCG();
  708. tween.AddEventOnetime
  709. (
  710. EventType.ForwardFinish,
  711. () =>
  712. {
  713. ResourceManager.SetActive(CanvasLabel.N_Tutorial, true);
  714. tween = ResourceManager.Get(CanvasLabel.N_Mask).TweenForGra();
  715. tween.AddEventOnetime
  716. (
  717. EventType.ForwardFinish,
  718. () =>
  719. {
  720. PayExemptAmt = 1;
  721. ResourceManager.SetActive(CanvasLabel.C_Visit, true);
  722. ResourceManager.Get<HorizontalLayoutGroup>(CanvasLabel.C_Group4).SetLayoutHorizontal();
  723. Tutorial.HightScreen(ResourceManager.Get(CanvasLabel.C_VisitArrow0), ResourceManager.Get(CanvasLabel.C_Visit));
  724. ResourceManager.AddButtonEventOnetime
  725. (
  726. CanvasLabel.C_Visit,
  727. () =>
  728. {
  729. EndClickVisitBtn();
  730. }
  731. );
  732. }
  733. );
  734. }
  735. );
  736. }
  737. public static void EndShowFirstCorrectButton()
  738. {
  739. StaticsManager.GetInstance().TutoComplete("EndShowFirstCorrectButton");
  740. Tutorial.HightDisable(0, false);
  741. }
  742. public static void EndShowSecondCorrectButton()
  743. {
  744. StaticsManager.GetInstance().TutoComplete("EndShowSecondCorrectButton");
  745. Tutorial.HightDisable(0, false);
  746. }
  747. public static void EndShowThirdCorrectButton()
  748. {
  749. StaticsManager.GetInstance().TutoComplete("EndShowThirdCorrectButton");
  750. Tutorial.HightDisable(0, false);
  751. }
  752. public static void EndShowFourthCorrectButton()
  753. {
  754. StaticsManager.GetInstance().TutoComplete("EndShowFourthCorrectButton");
  755. Tutorial.HightDisable(0, false);
  756. }
  757. public static void EndShowFifthCorrectButton()
  758. {
  759. StaticsManager.GetInstance().TutoComplete("EndShowFifthCorrectButton");
  760. Tutorial.HightDisable(0, false);
  761. }
  762. public static void EndShowSixthCorrectButton()
  763. {
  764. StaticsManager.GetInstance().TutoComplete("EndShowSixthCorrectButton");
  765. Tutorial.HightDisable();
  766. MemoryMinigameTutorial = false;
  767. MiniGameManager.Pause = false;
  768. }
  769. public static void PlayMemoryGame()
  770. {
  771. memoryMinigameTutorial = false;
  772. ResourceManager.Get(CanvasLabel.N_Mask).TweenForGra();
  773. ResourceManager.SetActive(CanvasLabel.N_Tutorial, true);
  774. MiniGameManager.Pause = true;
  775. int index = MiniGameManager.GetMemoryGameButtonIndex(MiniGameManager.FindGameIndexList[0]);
  776. Button button = MiniGameManager.D_MemoryGameBtns[index].GetComponent<Button>();
  777. Tutorial.HightScreen(MiniGameManager.D_MemoryGameArrows[index], button.transform);
  778. button.AddButtonEventOnetime
  779. (
  780. () =>
  781. {
  782. EndShowFirstCorrectButton();
  783. ShowSecondCorrectButton();
  784. }
  785. );
  786. }
  787. public static void ShowSecondCorrectButton()
  788. {
  789. int index = MiniGameManager.GetMemoryGameButtonIndex(MiniGameManager.FindGameIndexList[0]);
  790. Button button = MiniGameManager.D_MemoryGameBtns[index].GetComponent<Button>();
  791. Tutorial.HightScreen(MiniGameManager.D_MemoryGameArrows[index], button.transform);
  792. button.AddButtonEventOnetime
  793. (
  794. () =>
  795. {
  796. EndShowSecondCorrectButton();
  797. ShowThirdCorrectButton();
  798. }
  799. );
  800. }
  801. public static void ShowThirdCorrectButton()
  802. {
  803. int index = MiniGameManager.GetMemoryGameButtonIndex(MiniGameManager.FindGameIndexList[0]);
  804. Button button = MiniGameManager.D_MemoryGameBtns[index].GetComponent<Button>();
  805. Tutorial.HightScreen(MiniGameManager.D_MemoryGameArrows[index], button.transform);
  806. button.AddButtonEventOnetime
  807. (
  808. () =>
  809. {
  810. EndShowThirdCorrectButton();
  811. ShowFourthCorrectButton();
  812. }
  813. );
  814. }
  815. public static void ShowFourthCorrectButton()
  816. {
  817. int index = MiniGameManager.GetMemoryGameButtonIndex(MiniGameManager.FindGameIndexList[0]);
  818. Button button = MiniGameManager.D_MemoryGameBtns[index].GetComponent<Button>();
  819. Tutorial.HightScreen(MiniGameManager.D_MemoryGameArrows[index], button.transform);
  820. button.AddButtonEventOnetime
  821. (
  822. () =>
  823. {
  824. EndShowFourthCorrectButton();
  825. ShowFifthCorrectButton();
  826. }
  827. );
  828. }
  829. public static void ShowFifthCorrectButton()
  830. {
  831. int index = MiniGameManager.GetMemoryGameButtonIndex(MiniGameManager.FindGameIndexList[0]);
  832. Button button = MiniGameManager.D_MemoryGameBtns[index].GetComponent<Button>();
  833. Tutorial.HightScreen(MiniGameManager.D_MemoryGameArrows[index], button.transform);
  834. button.AddButtonEventOnetime
  835. (
  836. () =>
  837. {
  838. EndShowFifthCorrectButton();
  839. ShowSixthCorrectButton();
  840. }
  841. );
  842. }
  843. public static void ShowSixthCorrectButton()
  844. {
  845. int index = MiniGameManager.GetMemoryGameButtonIndex(MiniGameManager.FindGameIndexList[0]);
  846. Button button = MiniGameManager.D_MemoryGameBtns[index].GetComponent<Button>();
  847. Tutorial.HightScreen(MiniGameManager.D_MemoryGameArrows[index], button.transform);
  848. button.AddButtonEventOnetime
  849. (
  850. () =>
  851. {
  852. EndShowSixthCorrectButton();
  853. }
  854. );
  855. }
  856. public static void EndClickDressroomButton()
  857. {
  858. StaticsManager.GetInstance().TutoComplete("EndClickDressroomButton");
  859. DressroomTutorial = false;
  860. ResourceManager.Get(CanvasLabel.C_Main2).TweenForCG();
  861. Tutorial.HightDisable();
  862. ResourceManager.Get(CanvasLabel.N_LabBK).TweenBacCG();
  863. TweenRoot tweenRoot = ResourceManager.Get(CanvasLabel.I_BlackMask).TweenBacCG();
  864. tweenRoot.AddEventOnetime
  865. (
  866. EventType.BackwardFinish,
  867. () =>
  868. {
  869. Tutorial.MaskFlag = true;
  870. ResourceManager.SetActive(CanvasLabel.N_Button, false);
  871. ResourceManager.SetActive(CanvasLabel.N_Tutorial, false);
  872. }
  873. );
  874. ResourceManager.AddButtonEventOnetime
  875. (
  876. CanvasLabel.P_Return,
  877. () =>
  878. {
  879. tweenRoot = ResourceManager.Get(CanvasLabel.I_BlackMask).TweenBacCG();
  880. tweenRoot.AddEventOnetime
  881. (
  882. EventType.ForwardFinish,
  883. () =>
  884. {
  885. UIManager.UnblockOfflinePanel();
  886. }
  887. );
  888. }
  889. );
  890. }
  891. public static void ClickDressroomButton()
  892. {
  893. DressroomTutorial = true;
  894. dressroomTutorial = false;
  895. UIManager.BlockOfflinePanel();
  896. TweenRoot tweenRoot = ResourceManager.Get(CanvasLabel.F_Manage0).GetTweenVec();
  897. if (tweenRoot.InDestination)
  898. {
  899. tweenRoot.AddEventOnetime
  900. (
  901. EventType.BackwardFinish,
  902. () =>
  903. {
  904. ShowDressroomButton();
  905. }
  906. );
  907. tweenRoot = ResourceManager.Get(CanvasLabel.Fe_Info).TweenBacCG();
  908. tweenRoot.AddEventOnetime
  909. (
  910. EventType.BackwardFinish,
  911. () =>
  912. {
  913. tweenRoot = ResourceManager.Get(CanvasLabel.F_Manage).TweenBacGra();
  914. }
  915. );
  916. }
  917. else
  918. {
  919. ShowDressroomButton();
  920. }
  921. }
  922. public static void ShowDressroomButton()
  923. {
  924. ResourceManager.Get(CanvasLabel.C_Main).TweenReForCG();
  925. ResourceManager.Get(CanvasLabel.C_Group).TweenReForCG();
  926. ResourceManager.Get(CanvasLabel.C_Group0).TweenReForCG();
  927. ResourceManager.SetActive(CanvasLabel.N_Tutorial, true);
  928. ResourceManager.Get(CanvasLabel.N_Mask).TweenForGra();
  929. Tutorial.HightScreen(ResourceManager.Get(CanvasLabel.C_DressRoomArrow), ResourceManager.Get(CanvasLabel.C_DressRoom));
  930. ResourceManager.AddButtonEventOnetime
  931. (
  932. CanvasLabel.C_DressRoom,
  933. () =>
  934. {
  935. EndClickDressroomButton();
  936. }
  937. );
  938. ResourceManager.SetText(CanvasLabel.N_Lab, Language.GetStr(LanguageLabel.UI__N_Lab));
  939. Tutorial.ShowDescriptScreen(ResourceManager.Get(CanvasLabel.C_DressRoomLabPos).position);
  940. }
  941. public static void EndClickCorrectButton()
  942. {
  943. StaticsManager.GetInstance().TutoComplete("EndClickCorrectButton");
  944. FindMinigameTutorial = false;
  945. Tutorial.HightDisable();
  946. ResourceManager.SetActive(CanvasLabel.N_Tutorial, false);
  947. MiniGameManager.Pause = false;
  948. }
  949. public static void PlayFindGame()
  950. {
  951. FindMinigameTutorial = true;
  952. findMinigameTutorial = false;
  953. }
  954. public static void ShowCorrectButton(Transform arrowTra, Transform targetTra)
  955. {
  956. MiniGameManager.Pause = true;
  957. ResourceManager.SetActive(CanvasLabel.N_Tutorial, true);
  958. Tutorial.HightScreen(arrowTra, targetTra);
  959. }
  960. public static void EndClickPlazaRoomBtn()
  961. {
  962. StaticsManager.GetInstance().TutoComplete("EndClickPlazaRoomBtn");
  963. Tutorial.HightDisable();
  964. PlazaRoomTutorial = false;
  965. ResourceManager.SetActive(CanvasLabel.N_Tutorial, false);
  966. PayExemptAmt = 0;
  967. ConnectExemptAmt = 0;
  968. ResourceManager.AddButtonEventOnetime
  969. (
  970. CanvasLabel.X_Quit,
  971. () =>
  972. {
  973. TweenRoot tweenRoot = ResourceManager.Get(CanvasLabel.V_BlackMask).TweenForCG();
  974. tweenRoot.AddEventOnetime
  975. (
  976. EventType.ForwardFinish,
  977. () =>
  978. {
  979. UIManager.UnblockOfflinePanel();
  980. }
  981. );
  982. }
  983. );
  984. }
  985. public static void ClickPlazaRoomBtn()
  986. {
  987. PlazaRoomTutorial = true;
  988. plazaRoomTutorial = false;
  989. UIManager.BlockOfflinePanel();
  990. TweenRoot tweenRoot = ResourceManager.Get(CanvasLabel.F_Manage0).GetTweenVec();
  991. if (tweenRoot.InDestination)
  992. {
  993. TweenRoot tween = ResourceManager.Get(CanvasLabel.Fe_Info).TweenBacCG();
  994. tween.AddEventOnetime
  995. (
  996. EventType.BackwardFinish,
  997. () =>
  998. {
  999. ResourceManager.Get(CanvasLabel.F_Manage).TweenBacGra();
  1000. tween = ResourceManager.Get(CanvasLabel.F_Manage0).GetTweenVec();
  1001. tween.AddEventOnetime
  1002. (
  1003. EventType.BackwardFinish,
  1004. () =>
  1005. {
  1006. ShowPlazaRoomBtn();
  1007. }
  1008. );
  1009. }
  1010. );
  1011. }
  1012. else
  1013. {
  1014. ShowPlazaRoomBtn();
  1015. }
  1016. }
  1017. public static void ShowPlazaRoomBtn()
  1018. {
  1019. ResourceManager.Get(CanvasLabel.C_Main).TweenReForCG();
  1020. ResourceManager.Get(CanvasLabel.C_Group).TweenReForCG();
  1021. ResourceManager.Get(CanvasLabel.C_Group0).TweenReForCG();
  1022. TweenRoot tween = ResourceManager.Get(CanvasLabel.C_Group).GetTweenCG();
  1023. tween.AddEventOnetime
  1024. (
  1025. EventType.ForwardFinish,
  1026. () =>
  1027. {
  1028. ResourceManager.SetActive(CanvasLabel.N_Tutorial, true);
  1029. tween = ResourceManager.Get(CanvasLabel.N_Mask).TweenForGra();
  1030. tween.AddEventOnetime
  1031. (
  1032. EventType.ForwardFinish,
  1033. () =>
  1034. {
  1035. ResourceManager.SetActive(CanvasLabel.C_EnterPlazaRoom, true);
  1036. ResourceManager.SetActive(CanvasLabel.C_EnterPlazaRoom0, true);
  1037. ResourceManager.Get<HorizontalLayoutGroup>(CanvasLabel.C_Group4).CalculateLayoutInputHorizontal();
  1038. ResourceManager.Get<HorizontalLayoutGroup>(CanvasLabel.C_Group4).SetLayoutHorizontal();
  1039. Tutorial.HightScreen(ResourceManager.Get(CanvasLabel.C_PlazaRoomArrow0), ResourceManager.Get(CanvasLabel.C_EnterPlazaRoom));
  1040. ResourceManager.AddButtonEventOnetime
  1041. (
  1042. CanvasLabel.C_EnterPlazaRoom,
  1043. () =>
  1044. {
  1045. EndClickPlazaRoomBtn();
  1046. }
  1047. );
  1048. }
  1049. );
  1050. }
  1051. );
  1052. }
  1053. }