| | |
| | | skillBtn.interactable = false; |
| | | |
| | | finishPS = transform.Find("Effect_UI_YinDaoJieShu/Particle System (3)").GetComponent<ParticleSystem>(); |
| | | towerBuyBtn.gameObject.SetActive(false); |
| | | } |
| | | |
| | | |
| | |
| | | { |
| | | //关闭对话框 |
| | | SetGuideUI(false); |
| | | towerBuyBtn.gameObject.SetActive(true); |
| | | |
| | | //开箱 |
| | | boxPanel.ChangeType(GuideBoxType.Wood, Step1Finish); |
| | | } |
| | |
| | | { |
| | | strArray = str; |
| | | tmpMask.enabled = false; |
| | | |
| | | AddButtonListener(towerBuyBtn, Step2_1); |
| | | Image btnImg = towerBuyBtn.GetComponent<Image>(); |
| | | InitRectGuidance(btnImg, 159, 73.5f, Vector2.one); |
| | |
| | | wood2PS2.Play(); |
| | | //fire2.enabled = false; |
| | | DestoryButtonListener(towerBuyBtn); |
| | | towerBuyBtn.gameObject.SetActive(false); |
| | | |
| | | SetRimActive(false); |
| | | CloseGuidance(); |
| | | tmpMask.enabled = true; |
| | |
| | | { |
| | | //关闭对话框 |
| | | SetGuideUI(false); |
| | | towerBuyBtn.gameObject.SetActive(true); |
| | | |
| | | //开箱 |
| | | boxPanel.ChangeType(GuideBoxType.Fire, cb); |
| | | } |
| | |
| | | firePS1.Play(); |
| | | firePS1.Play(); |
| | | RemoveButtonListener(towerBuyBtn); |
| | | towerBuyBtn.gameObject.SetActive(false); |
| | | |
| | | Step4_2(); |
| | | } |
| | | } |
| | |
| | | { |
| | | //关闭对话框 |
| | | SetGuideUI(false); |
| | | towerBuyBtn.gameObject.SetActive(true); |
| | | |
| | | //开箱 |
| | | boxPanel.ChangeType(GuideBoxType.Water, cb); |
| | | } |
| | |
| | | waterPS1.Play(); |
| | | waterPS2.Play(); |
| | | RemoveButtonListener(towerBuyBtn); |
| | | towerBuyBtn.gameObject.SetActive(false); |
| | | |
| | | Step6_2(); |
| | | } |
| | | } |