//-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Sunday, May 05, 2019 //-------------------------------------------------------- using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace vnxbqy.UI { public class RankFrameWin : OneLevelWin { #region Built-in protected override void AddListeners() { base.AddListeners(); SetFunctionListener(0, ShowRank); } protected override void OnPreClose() { CloseSubWindows(); } #endregion private void ShowRank() { CloseSubWindows(); WindowCenter.Instance.Open(); functionOrder = 0; } } }