using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class AniEnd : MonoBehaviour { public Text yishi; public GameObject tip; Animator animator; public GameObject errorTip; private void Awake() { animator = GetComponent(); } public void E_HuhuanEnd() { EventManager.Instance.emit("NextAc"); yishi.text = "»èÃÔ"; } public void E_GuanchaEnd(){ //yifu.SetActive(false); EventManager.Instance.emit("ActionTwoEnd"); } public void E_TuoyiEnd() { EventManager.Instance.emit("guancha"); animator.SetTrigger("Guancha"); } public void E_GameEnd() { tip.SetActive(true); errorTip.SetActive(true); errorTip.GetComponentInChildren().InitThis("¹§Ï²Í¨¹Ø", 60); EduCoderTool.WebConnecter.Singleton.SendResultToWeb(true); } }