19 lines
324 B
C#
19 lines
324 B
C#
|
using UnityEngine;
|
||
|
|
||
|
namespace ZXL.Scripts.UI
|
||
|
{
|
||
|
public class UIBase : MonoBehaviour
|
||
|
{
|
||
|
public UIType uiType;
|
||
|
|
||
|
public virtual void Open()
|
||
|
{
|
||
|
gameObject.SetActive(true);
|
||
|
}
|
||
|
|
||
|
public virtual void Close()
|
||
|
{
|
||
|
gameObject.SetActive(false);
|
||
|
}
|
||
|
}
|
||
|
}
|