mirror of
https://github.com/ConjureETS/PixelSphinx.git
synced 2026-03-24 18:40:57 +00:00
29 lines
583 B
C#
29 lines
583 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
using UnityEngine.UI;
|
|
|
|
namespace MenusHandler
|
|
{
|
|
[RequireComponent(typeof(MenuInputModule))]
|
|
public abstract class Menu : MonoBehaviour
|
|
{
|
|
private MenuInputModule _inputModule;
|
|
|
|
public MenuInputModule InputModule
|
|
{
|
|
get { return _inputModule; }
|
|
}
|
|
|
|
void Awake()
|
|
{
|
|
_inputModule = GetComponent<MenuInputModule>();
|
|
}
|
|
|
|
protected virtual void Start() { }
|
|
|
|
public virtual void Open() { }
|
|
|
|
public virtual void Close() { }
|
|
}
|
|
}
|