|
override void | OnInit () |
| Raises the init event. More...
|
|
void | SetCallback (UnityAction< WindowComponent, int > onChangeBefore=null, UnityAction< WindowComponent, int > onChangeAfter=null) |
|
void | SetCallbacks (UnityAction< WindowComponent, int > onChangeBefore, UnityAction< WindowComponent, int > onChangeAfter) |
|
void | SetContent (WindowLayoutElement layoutContent) |
|
T1 | AddItem< T1, T2 > (T2 component, UnityAction< T1 > onClick=null, bool autoEvents=true) |
|
T1 | AddItem< T1 > (UnityAction< ButtonComponent, int > onClick, bool autoEvents) |
|
void | Select (int index) |
|
void | Load (int index, bool immediately=false, UnityAction callback=null) |
|
override void | OnDeinit () |
| Raises the deinit event. More...
|
|
void | InitPool (int capacity) |
|
void | SetupAsDropdown (float maxHeight) |
|
virtual T | AddItem< T > () |
|
int | GetIndexOf< T > (T item) |
|
List< WindowComponent > | GetItems () |
|
List< T > | GetItems< T > () |
|
T | GetItem< T > (int index) |
|
virtual void | SetItems (int capacity, UnityAction< IComponent > onItem=null) |
|
virtual void | SetItems< T > (int capacity, UnityAction< T, int > onItem=null) |
|
virtual void | SetItemsAsync< T > (int capacity, UnityAction onComplete, UnityAction< T, int > onItem=null) |
|
virtual void | Clear () |
|
override void | OnHideBegin (System.Action callback) |
| Raises the hide begin event. More...
|
|
void | Refresh () |
|
List< WindowComponent > | GetSubComponents () |
| Gets the sub components. More...
|
|
WindowLayoutBase | GetLayoutRoot () |
| Gets the layout root. More...
|
|
void | RegisterSubComponent (WindowComponent subComponent) |
| Registers the sub component. More...
|
|
void | UnregisterSubComponent (WindowComponent subComponent) |
| Unregisters the sub component. More...
|
|
override void | OnShowEnd () |
| Raises the show end event. More...
|
|
override void | OnHideEnd () |
| Raises the hide end event. More...
|
|
override void | OnShowBegin (System.Action callback) |
| Raises the show begin event. More...
|
|
WindowObjectState | GetComponentState () |
| Gets the state of the component. More...
|
|
void | Show (bool resetAnimation=true) |
| Show component. More...
|
|
virtual void | Show (System.Action callback, bool resetAnimation) |
| Show component with callback after end. More...
|
|
void | Hide () |
| Hide this instance. More...
|
|
void | Hide (bool immediately) |
| Hide the specified immediately. More...
|
|
virtual void | Hide (System.Action callback, bool immediately) |
| Hide the specified callback and immediately. More...
|
|
void | SetResetState () |
| Set up reset state to animation. More...
|
|
void | SetInState () |
| Set up in state to animation. More...
|
|
void | SetOutState () |
| Set up out state to animation. More...
|
|
virtual float | GetAnimationDuration (bool forward) |
| Gets the duration of the animation. More...
|
|
WindowBase | GetWindow () |
|
void | HideCurrentWindow () |
|