//-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Monday, October 30, 2017 //-------------------------------------------------------- using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace vnxbqy.UI { public class WelfareWin : Window, SecondWindowInterface { [SerializeField] FunctionButton signInTitleBtn; [SerializeField] FunctionButton dayOnlineBtn; [SerializeField] FunctionButton prayerTitleBtn; [SerializeField] FunctionButton Btn_InSeven; [SerializeField] FunctionButton m_LevelGiftBtn; [SerializeField] FunctionButton m_ExchangeBtn; [SerializeField] FunctionButton m_SuccessBP; [SerializeField] FunctionButton m_Month1; [SerializeField] FunctionButton m_Month2; [SerializeField] FunctionButton m_Vip; [SerializeField] FunctionButton m_ShareBtn; [SerializeField] FunctionButtonGroup buttonGroup; [SerializeField] Text m_Copper; [SerializeField] Text m_Diamond; [SerializeField] Text m_BindDiamond; InSevenDayModel inSevenDay { get { return ModelCenter.Instance.GetModel(); } } MonthWeekInvestModel monthWeekInvestModel { get { return ModelCenter.Instance.GetModel(); } } AchievementModel achievementModel { get { return ModelCenter.Instance.GetModelEx(); } } public Button close { get; set; } #region Built-in protected override void BindController() { if (this is SecondWindowInterface) { var frame = this.GetComponentInChildren(); frame.Create(); close = frame.GetComponentInChildren