using UnityEngine;
using System.Collections;
using Thousandto.Plugins.Common;
namespace Thousandto.GameUI.Form
{
///
/// {请在这里把当前窗体的功能描述写好!}
///
public class UITemplate : UINormalForm
{
#region //UI控件
#endregion
#region //私有成员
#endregion
#region //公有成员
#endregion
#region //静态成员
#endregion
#region //继承Form函数
protected override void OnRegisterEvents()
{
base.OnRegisterEvents();
//ToDo,这里请填写开启的窗体,关闭窗体的消息
//RegistDefaultUIEvent(UIEventDefine.UIMainForm_OPEN, UIEventDefine.UIMainForm_CLOSE);
}
protected override void OnFirstShow()
{
base.OnFirstShow();
FindAllComponents();
RegUICallback();
AddAlphaAnimation();
}
protected override void OnShowBefore()
{
base.OnShowBefore();
}
protected override void OnShowAfter()
{
base.OnShowAfter();
}
protected override void OnLoad()
{
base.OnLoad();
}
protected override void OnUnload()
{
base.OnUnload();
}
#endregion
#region //界面按钮回调
///
/// 点击界面上关闭按钮
///
private void OnClickCloseBtn()
{
Hide();
}
#endregion
#region //私有功能函数
///
/// 查找UI上各个控件
///
private void FindAllComponents()
{
}
///
/// 注册UI上面的事件,比如点击事件等
///
private void RegUICallback()
{
}
#endregion
#region //公有功能函数
#endregion
}
}