using vnxbqy.UI; using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; class FaQiWin : ILOneLevelWindow { protected override void BindController() { base.BindController(); } protected override void AddListeners() { base.AddListeners(); SetFunctionListener(0, OnClikcFaQiLVUPTitle); SetFunctionListener(1, OnClickShenTongTitle); SetFunctionListener(2, OnClickZhenFaTitle); } protected override void OnPreOpen() { if (FaQiLVUPModel.Instance.redpoint1.state == RedPointState.Simple) { proxy.functionOrder = 0; } else if (ShentongModel.Instance.redpoint1.state == RedPointState.Simple) { proxy.functionOrder = 1; } } void OnClikcFaQiLVUPTitle() { CloseAllChildWindow(); WindowCenter.Instance.OpenIL(); } void OnClickZhenFaTitle() { } void OnClickShenTongTitle() { CloseAllChildWindow(); WindowCenter.Instance.OpenIL(); } }