// ***********************************************************************
// Assembly : Game
// Author : Kimch
// Created : 2021-01-08
// Description :
// Last Modified By :
// Last Modified On :
// ***********************************************************************
//
//
// ***********************************************************************
using System;
namespace G.UI
{
public partial class NameBox : KUIWindow
{
public static void Show(string name, Action callback)
{
var data = new Tuple>(name, callback);
OpenWindow(data);
}
#region Constructor
public NameBox()
: base(UILayer.kPopup, UIMode.kNone)
{
uiPath = "ui_common/ui_w_name.prefab";
}
#endregion
#region Method
#endregion
#region Unity
///
///
///
public override void Awake()
{
InitView();
}
///
///
///
public override void OnEnable()
{
RefreshView();
}
#endregion
}
}