프로젝트 Common 스크립트 추가
This commit is contained in:
19
Gameton-06/Assets/Gameton/Scripts/Common/UIBase.cs
Normal file
19
Gameton-06/Assets/Gameton/Scripts/Common/UIBase.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace TON
|
||||
{
|
||||
public class UIBase : MonoBehaviour
|
||||
{
|
||||
public virtual void Show()
|
||||
{
|
||||
gameObject.SetActive(true);
|
||||
}
|
||||
|
||||
public virtual void Hide()
|
||||
{
|
||||
gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user