33 lines
680 B
C#
33 lines
680 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace AxibugEmuOnline.Client
|
|
{
|
|
public class OverlayManager : MonoBehaviour
|
|
{
|
|
static OverlayManager s_ins;
|
|
|
|
[SerializeField]
|
|
InputUI m_InputUI;
|
|
|
|
private void Awake()
|
|
{
|
|
s_ins = this;
|
|
|
|
m_InputUI.gameObject.SetActive(false);
|
|
}
|
|
|
|
public static InputUI Input(Action<string> callback, string placeHolder, string defaultText)
|
|
{
|
|
s_ins.m_InputUI.Show((callback, placeHolder, defaultText));
|
|
|
|
return s_ins.m_InputUI;
|
|
}
|
|
|
|
public static void PopMsg(string msg)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|