using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class AniEnd : MonoBehaviour { public Text yishi; public GameObject yifu; Animator animator; 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() { EduCoderTool.WebConnecter.Singleton.SendResultToWeb(true); } }