33 lines
504 B
C#
33 lines
504 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class EventaddFrame : MonoBehaviour
|
|
{
|
|
public GameObject Canvas;
|
|
public Animator _animator;
|
|
public void Show()
|
|
{
|
|
|
|
Canvas.gameObject.SetActive(true);
|
|
|
|
}
|
|
public void Hide()
|
|
|
|
{
|
|
|
|
Canvas.gameObject.SetActive(false);
|
|
|
|
}
|
|
|
|
public void SetBool()
|
|
{
|
|
_animator.SetBool("IsAuto",false);
|
|
|
|
// Debug.Log("测试!!!!");
|
|
|
|
}
|
|
|
|
|
|
}
|