//-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Tuesday, October 10, 2017 //-------------------------------------------------------- using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace Snxxz.UI { public class FunctionUnlockWin : Window { FunctionUnlockFlyObject flyObject; TreasureModel m_Model; TreasureModel model { get { return m_Model ?? (m_Model = ModelCenter.Instance.GetModel()); } } #region Built-in protected override void BindController() { } protected override void AddListeners() { } protected override void OnPreOpen() { var instance = UIUtility.CreateWidget("FunctionUnlockFlyObject", "FunctionUnlockFlyObject"); instance.transform.SetParentEx(this.transform, Vector3.zero, Quaternion.identity, Vector3.one); } protected override void OnAfterOpen() { } protected override void OnPreClose() { } protected override void OnAfterClose() { } #endregion public override void CloseClick() { BeginShow(); base.CloseClick(); } private void BeginShow() { } } }