Public Member Functions | |
void | Unload () |
void | Load (WindowComponent component) |
virtual void | Setup (WindowComponent component, Layout.Component activatorInstance) |
virtual WindowComponent | GetCurrentComponent () |
override void | Show (System.Action callback, bool resetAnimation) |
Show component with callback after end. More... | |
override void | Hide (System.Action callback, bool immediately) |
Hide the specified callback and immediately. More... | |
Public Member Functions inherited from UnityEngine.UI.Windows.WindowComponentBase | |
WindowObjectState | GetComponentState () |
Gets the state of the component. More... | |
void | Show (bool resetAnimation=true) |
Show component. More... | |
void | Hide () |
Hide this instance. More... | |
void | Hide (bool immediately) |
Hide the specified 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... | |
virtual void | OnShowBegin (System.Action callback) |
Raises the show begin event. More... | |
virtual void | OnHideBegin (System.Action callback) |
Raises the hide begin event. More... | |
virtual void | OnInit () |
Raises the init event. More... | |
virtual void | OnDeinit () |
Raises the deinit event. More... | |
virtual void | OnShowEnd () |
Raises the show end event. More... | |
virtual void | OnHideEnd () |
Raises the hide end event. More... | |
Public Member Functions inherited from UnityEngine.UI.Windows.WindowObject | |
WindowBase | GetWindow () |
void | HideCurrentWindow () |
Additional Inherited Members | |
Public Attributes inherited from UnityEngine.UI.Windows.WindowComponentBase | |
new WindowAnimationBase | animation |
List< TransitionInputParameters > | animationInputParams = new List<TransitionInputParameters>() |
CanvasGroup | canvas |
bool | animationRefresh = false |
|
virtual |
|
virtual |
Hide the specified callback and immediately.
Animation component can use current layout element root or current component root.
callback | Callback. |
immediately | If set to true immediately. |
Reimplemented from UnityEngine.UI.Windows.WindowComponentBase.
void UnityEngine.UI.Windows.WindowLayoutBase.Load | ( | WindowComponent | component | ) |
|
virtual |
Implements UnityEngine.UI.Windows.IWindowComponentLayout.
|
virtual |
Show component with callback after end.
Animation component can use current layout element root or current component root.
callback | Callback. |
resetAnimation | If set to true reset animation. |
Reimplemented from UnityEngine.UI.Windows.WindowComponentBase.
void UnityEngine.UI.Windows.WindowLayoutBase.Unload | ( | ) |