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.
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
using UnityEngine.UI;
|
|
|
|
|
public class AniEnd : MonoBehaviour
|
|
|
|
|
{
|
|
|
|
|
public Text yishi;
|
|
|
|
|
public GameObject yifu;
|
|
|
|
|
Animator animator;
|
|
|
|
|
public GameObject errorTip;
|
|
|
|
|
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()
|
|
|
|
|
{
|
|
|
|
|
errorTip.SetActive(true);
|
|
|
|
|
errorTip.GetComponentInChildren<ErrorTip>().InitThis("<22><>ϲͨ<CFB2><CDA8>", 60);
|
|
|
|
|
EduCoderTool.WebConnecter.Singleton.SendResultToWeb(true);
|
|
|
|
|
}
|
|
|
|
|
}
|