//-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Monday, October 30, 2017 //-------------------------------------------------------- using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace Snxxz.UI { public class DailyQuestCalendarWin : Window { [SerializeField] DailyQuestCalendarColumn[] calendarColumns; [SerializeField] Button m_Close; #region Built-in protected override void BindController() { } protected override void AddListeners() { m_Close.AddListener(CloseClick); } protected override void OnPreOpen() { ShowCalendar(); } protected override void OnAfterOpen() { } protected override void OnPreClose() { } protected override void OnAfterClose() { } #endregion private void ShowCalendar() { for (int i = 0; i < calendarColumns.Length; i++) { calendarColumns[i].Display(); } } } }