26 lines
388 B
C#
26 lines
388 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class UIBase : MonoBehaviour
|
|
{
|
|
public int isTools { get; set; }
|
|
public void Open()
|
|
{
|
|
|
|
this.gameObject.SetActive(true);
|
|
}
|
|
|
|
|
|
public void Close()
|
|
{
|
|
this.gameObject.SetActive(false);
|
|
}
|
|
|
|
|
|
public void Destroy()
|
|
{
|
|
Destroy(this.gameObject);
|
|
}
|
|
}
|