21 lines
422 B
C#
21 lines
422 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace TON
|
|
{
|
|
public class UIBase : MonoBehaviour
|
|
{
|
|
public virtual void Show()
|
|
{
|
|
Instantiate(Resources.Load("EventSystem/Prefabs/TON.EventSystem"));
|
|
gameObject.SetActive(true);
|
|
}
|
|
|
|
public virtual void Hide()
|
|
{
|
|
gameObject.SetActive(false);
|
|
}
|
|
}
|
|
}
|