Beispiel #1
0
 protected override void Awake()
 {
     base.Awake();
     this.m_WindowController.Initialize((FlowNode)this);
     this.m_WindowController.Add((FlowWindowBase.SerializeParamBase) this.m_RootWindowParam);
     this.m_WindowController.Add((FlowWindowBase.SerializeParamBase) this.m_SortWindowParam);
     this.m_WindowController.Add((FlowWindowBase.SerializeParamBase) this.m_FilterWindowParam);
     this.m_RootWindow   = this.m_WindowController.GetWindow <UnitListRootWindow>();
     this.m_SortWindow   = this.m_WindowController.GetWindow <UnitListSortWindow>();
     this.m_FilterWindow = this.m_WindowController.GetWindow <UnitListFilterWindow>();
     if (this.m_RootWindow != null)
     {
         this.m_RootWindow.SetRoot(this);
     }
     if (this.m_SortWindow != null)
     {
         this.m_SortWindow.SetRoot(this);
     }
     if (this.m_FilterWindow == null)
     {
         return;
     }
     this.m_FilterWindow.SetRoot(this);
 }
Beispiel #2
0
 public void RefreshSortPriority(UnitListSortWindow.SelectType sortType)
 {
     this.sortPriority = UnitListSortWindow.GetSortPriority(this, sortType);
 }