//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Saturday, December 23, 2017
|
//--------------------------------------------------------
|
|
using System;
|
using System.Collections;
|
using System.Collections.Generic;
|
using UnityEngine;
|
using UnityEngine.UI;
|
|
namespace Snxxz.UI
|
{
|
|
public class FuncRuleWin : Window
|
{
|
[SerializeField] Text m_RuleTxt;
|
[SerializeField] Button m_CloseBtn;
|
#region Built-in
|
protected override void BindController()
|
{
|
|
}
|
|
protected override void AddListeners()
|
{
|
m_CloseBtn.onClick.AddListener(CloseClick);
|
}
|
|
protected override void OnPreOpen()
|
{
|
m_RuleTxt.text = Language.Get(FuncRules.ruleKey);
|
}
|
|
protected override void OnAfterOpen()
|
{
|
|
}
|
|
protected override void OnPreClose()
|
{
|
|
}
|
|
protected override void OnAfterClose()
|
{
|
|
}
|
#endregion
|
|
}
|
|
}
|