| | |
| | | //ParticleSystem finishPS; |
| | | Button finishBtn; |
| | | Image finishImg; |
| | | Canvas skillCanvasGroup; |
| | | void Awake() |
| | | { |
| | | |
| | | tmpMask = transform.GetComponent<Image>(); |
| | | tipsUI = transform.Find("Tips").gameObject; |
| | | tipsUI.transform.SetAsLastSibling();//把tips放在最下面 |
| | |
| | | StopShowDragPath(true); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 关闭技能X1的显示优先级 |
| | | /// </summary> |
| | | public void CloseSkillImage() |
| | | { |
| | | GameObject go1 = GameObject.Find("UICamera/BottomCanvas/Panel/Energy/FireSkillBg/SkillCount1"); |
| | | if (go1 != null) |
| | | { |
| | | skillCanvasGroup = go1.GetComponent<Canvas>(); |
| | | skillCanvasGroup.overrideSorting = false; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 步骤3 :对话---出兵后杀光---对话---展示火鸡 |
| | |
| | | public void Step7Talk(string[] str, Action ac) |
| | | { |
| | | callBack = ac; |
| | | GameObject.Find("UICamera/MainUI/BloodUI").SetActive(false); |
| | | |
| | | SetGuideUI(true); |
| | | StartShowWord(str, GuideEnergyUp); |
| | | } |
| | |
| | | /// </summary> |
| | | public void GuideEnergyUp() |
| | | { |
| | | GameObject.Find("UICamera/MainUI/BloodUI").SetActive(false); |
| | | EventCenter.Ins.BroadCast((int)KTGMGemClient.EventType.GuideEnergyUp, 100); |
| | | |
| | | tmpMask.enabled = false; |
| | |
| | | |
| | | public void FinishGuide() |
| | | { |
| | | if (skillCanvasGroup != null) |
| | | skillCanvasGroup.overrideSorting = true; |
| | | towerBuyBtn.gameObject.SetActive(true); |
| | | } |
| | | |