mirror of
https://github.com/DerTyp7/harvestdale-unity.git
synced 2025-10-29 20:52:10 +01:00
23 lines
321 B
C#
23 lines
321 B
C#
using UnityEngine;
|
|
|
|
public abstract class GuiPanel : MonoBehaviour
|
|
{
|
|
[SerializeField] private string panelName;
|
|
|
|
public string GetName()
|
|
{
|
|
return panelName;
|
|
}
|
|
|
|
private void Awake()
|
|
{
|
|
GuiManager.Instance.RegisterPanel(this);
|
|
}
|
|
|
|
public abstract void OnOpen();
|
|
public abstract void OnClose();
|
|
}
|
|
|
|
|
|
|