mirror of
https://github.com/ConjureETS/Unity_Utils.git
synced 2026-03-24 13:00:58 +00:00
17 lines
297 B
C#
17 lines
297 B
C#
using UnityEngine;
|
|
|
|
namespace Util.UiComponents
|
|
{
|
|
public class ComponentBase : MonoBehaviour
|
|
{
|
|
public void Show()
|
|
{
|
|
gameObject.SetActive(true);
|
|
}
|
|
|
|
public void Hide()
|
|
{
|
|
gameObject.SetActive(false);
|
|
}
|
|
}
|
|
} |