using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; //强化系统的控制 namespace Snxxz.UI { public class EquipReinforceWin : Window { private WingsRedDot W_ModelRedDit; private WingsRedDot model { get { return W_ModelRedDit ?? (W_ModelRedDit = ModelCenter.Instance.GetModel()); } } private PlayerStrengthengDatas M_Strengtheng; private PlayerStrengthengDatas strengtheng { get { return M_Strengtheng ?? (M_Strengtheng = ModelCenter.Instance.GetModel()); } } private WashTips _washTips; public WashTips WashTip { get { if (_washTips == null) _washTips = transform.Find("CommonPanel/WashTips").GetComponent(); return _washTips; } } private Button _closeBtn; private EquipSuitTips _suitTips; public EquipSuitTips SuitTips { get { if (_suitTips == null) _suitTips = transform.Find("CommonPanel/EquipSuitPanel").GetComponent(); return _suitTips; } } private StrengtheningSripts _strengtheningPanel; public StrengtheningSripts StrengthenPnl { get { if (_strengtheningPanel == null) _strengtheningPanel = transform.Find("CommonPanel/StrengtheningPanel").GetComponent(); return _strengtheningPanel; } } private Button _prePageBtn; private Button _nextPageBtn; private FunctionButton _strengthTitle; //强化 private FunctionButton _inlayTitle; //镶嵌 private FunctionButton _wingsRefineTitle; // 翅膀精炼 private FunctionButton _equipSuitTitle; // 套装 private FunctionButton _washTitle; //洗练 private FunctionButtonGroup _funcBtnGroup; private GameObject _InlaidGemPanel; //宝石 private GameObject _wingsRefinePanel; EquipWashModel m_EquipWashModel; EquipWashModel equipWashModel { get { return m_EquipWashModel ?? (m_EquipWashModel = ModelCenter.Instance.GetModel()); } } GemModel m_gemModel; GemModel gemModel { get { return m_gemModel ?? (m_gemModel = ModelCenter.Instance.GetModel()); } } WingsRedDot m_WingsRedDot; WingsRedDot wingsRedDot { get { return m_WingsRedDot ?? (m_WingsRedDot = ModelCenter.Instance.GetModel()); } } protected override void BindController() { _InlaidGemPanel = transform.Find("CommonPanel/InlaidGemPanel").gameObject; _wingsRefinePanel = transform.Find("CommonPanel/WingsRefinePanel").gameObject; _funcBtnGroup = transform.Find("Container_Functions").GetComponent(); _strengthTitle = transform.Find("Container_Functions/Btn_Function_1").GetComponent(); _inlayTitle = transform.Find("Container_Functions/Btn_Function_2").GetComponent(); _wingsRefineTitle = transform.Find("Container_Functions/Btn_Function_3").GetComponent(); _equipSuitTitle = transform.Find("Container_Functions/Btn_Function_4").GetComponent(); _washTitle = transform.Find("Container_Functions/Btn_Function_5").GetComponent(); _prePageBtn = transform.Find("LeftBtn").GetComponent