using vnxbqy.UI; using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using UnityEngine.UI; public class ExchangeActiveSuccessWin : Window { [SerializeField] Button m_UseBtn; [SerializeField] Text m_ActiveCount; private ExchangeActiveTokenModel m_Model { get { return ModelCenter.Instance.GetModel(); } } protected override void AddListeners() { m_UseBtn.AddListener(() => Close()); } protected override void BindController() { } protected override void OnAfterClose() { } protected override void OnAfterOpen() { } protected override void OnPreClose() { } protected override void OnPreOpen() { m_ActiveCount.text = m_Model.NewActivePoint.ToString(); } }