Files
M-Gameton-06/Gameton-06/Assets/Gameton/Scripts/Common/UIBase.cs
2025-01-24 17:55:26 +09:00

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);
}
}
}