You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
772 B

2 years ago
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<Animator>();
}
public void E_HuhuanEnd()
{
EventManager.Instance.emit("NextAc");
yishi.text = "<22><><EFBFBD><EFBFBD>";
}
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);
}
}