ISAP/Assets/Scripts/UI/UIBase.cs

25 lines
351 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UIBase : MonoBehaviour
{
public void Open()
{
this.gameObject.SetActive(true);
}
public void Close()
{
this.gameObject.SetActive(false);
}
public void Destroy()
{
Destroy(this.gameObject);
}
}