| | |
| | | using UnityEngine; |
| | | using UnityEngine.UI; |
| | | using System; |
| | | using KTGMGemClient; |
| | | using DG.Tweening; |
| | | /// <summary> |
| | | /// 新手引导UI脚本 |
| | |
| | | tmpMask.enabled = false; |
| | | backgroundImg = transform.Find("Button").GetComponent<Image>(); |
| | | |
| | | towerBuyBtn = GameObject.Find("MainUI/TowerBuyBtn"); |
| | | towerBuyBtn = GameObject.Find("BottomUI/TowerBuyBtn"); |
| | | tipsUI = transform.Find("Tips").gameObject; |
| | | tipsUI.transform.SetAsLastSibling();//把tips放在最下面 |
| | | |
| | |
| | | fire1.gameObject.SetActive(true); |
| | | fire1.transform.Find("Image_2").gameObject.SetActive(false); |
| | | fire1.enabled = false; |
| | | |
| | | EventCenter.Ins.BroadCast((int)KTGMGemClient.EventType.PlayAppearEffect, fire1.transform.position); |
| | | } |
| | | } |
| | | public void Step1_2() |
| | |
| | | DestoryButtonListener(towerBuyBtn); |
| | | SetRimActive(false); |
| | | CloseMask(); |
| | | EventCenter.Ins.BroadCast((int)KTGMGemClient.EventType.PlayAppearEffect, fire2.transform.position); |
| | | |
| | | //RemoveButtonListener(towerBuyBtn); |
| | | } |
| | | |