Public Member Functions | |
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... | |
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 () |
Public Attributes | |
new WindowAnimationBase | animation |
List< TransitionInputParameters > | animationInputParams = new List<TransitionInputParameters>() |
CanvasGroup | canvas |
bool | animationRefresh = false |
|
virtual |
Gets the duration of the animation.
forward | If set to true forward. |
Implements UnityEngine.UI.Windows.IWindowAnimation.
WindowObjectState UnityEngine.UI.Windows.WindowComponentBase.GetComponentState | ( | ) |
Gets the state of the component.
void UnityEngine.UI.Windows.WindowComponentBase.Hide | ( | ) |
Hide this instance.
Animation component can use current layout element root or current component root.
void UnityEngine.UI.Windows.WindowComponentBase.Hide | ( | bool | immediately | ) |
Hide the specified immediately.
Animation component can use current layout element root or current component root.
immediately | If set to true immediately. |
|
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 in UnityEngine.UI.Windows.WindowLayoutBase.
|
virtual |
Raises the deinit event.
You can override this method but call it's base.
Implements UnityEngine.UI.Windows.IWindowEventsAsync.
Reimplemented in UnityEngine.UI.Windows.Components.Tabs, UnityEngine.UI.Windows.WindowComponent, UnityEngine.UI.Windows.Components.PopupComponent, UnityEngine.UI.Windows.Components.ButtonComponent, UnityEngine.UI.Windows.Components.LinkerComponent, UnityEngine.UI.Windows.Components.InputFieldComponent, UnityEngine.UI.Windows.Components.ButtonHoverComponent, UnityEngine.UI.Windows.Components.ButtonWithTipComponent, and UnityEngine.UI.Windows.Modules.BackgroundCloseable.
|
virtual |
Raises the hide begin event.
Wait while all sub components return the callback. You can override this method but call it's base.
callback | Callback. |
Implements UnityEngine.UI.Windows.IWindowEventsAsync.
Reimplemented in UnityEngine.UI.Windows.Components.List, UnityEngine.UI.Windows.WindowComponent, UnityEngine.UI.Windows.Components.LinkerComponent, UnityEngine.UI.Windows.Components.ProgressWithParticlesComponent, UnityEngine.UI.Windows.Components.ProgressComponent, and UnityEngine.UI.Windows.Components.ButtonHoverComponent.
|
virtual |
Raises the hide end event.
You can override this method but call it's base.
Implements UnityEngine.UI.Windows.IWindowEventsAsync.
Reimplemented in UnityEngine.UI.Windows.WindowComponent, and UnityEngine.UI.Windows.Components.LinkerComponent.
|
virtual |
Raises the init event.
You can override this method but call it's base.
Implements UnityEngine.UI.Windows.IWindowEventsAsync.
Reimplemented in UnityEngine.UI.Windows.WindowComponent, UnityEngine.UI.Windows.Components.PopupComponent, UnityEngine.UI.Windows.Components.LinkerComponent, UnityEngine.UI.Windows.Components.ProgressComponent, UnityEngine.UI.Windows.Components.List, UnityEngine.UI.Windows.Components.Tabs, UnityEngine.UI.Windows.Components.ToggleComponent, UnityEngine.UI.Windows.Components.ButtonWithTipComponent, and UnityEngine.UI.Windows.Components.ProgressWithParticlesComponent.
|
virtual |
Raises the show begin event.
Wait while all sub components return the callback. You can override this method but call it's base.
callback | Callback. |
Implements UnityEngine.UI.Windows.IWindowEventsAsync.
Reimplemented in UnityEngine.UI.Windows.WindowComponent, UnityEngine.UI.Windows.Components.PopupComponent, and UnityEngine.UI.Windows.Components.LinkerComponent.
|
virtual |
Raises the show end event.
You can override this method but call it's base.
Implements UnityEngine.UI.Windows.IWindowEventsAsync.
Reimplemented in UnityEngine.UI.Windows.WindowComponent, UnityEngine.UI.Windows.Components.LinkerComponent, and UnityEngine.UI.Windows.Components.ProgressWithParticlesComponent.
void UnityEngine.UI.Windows.WindowComponentBase.SetInState | ( | ) |
Set up in
state to animation.
void UnityEngine.UI.Windows.WindowComponentBase.SetOutState | ( | ) |
Set up out
state to animation.
void UnityEngine.UI.Windows.WindowComponentBase.SetResetState | ( | ) |
Set up reset
state to animation.
void UnityEngine.UI.Windows.WindowComponentBase.Show | ( | bool | resetAnimation = true | ) |
Show component.
Animation component can use current layout element root or current component root.
resetAnimation | If set to true reset animation. |
|
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 in UnityEngine.UI.Windows.WindowLayoutBase.
new WindowAnimationBase UnityEngine.UI.Windows.WindowComponentBase.animation |
List<TransitionInputParameters> UnityEngine.UI.Windows.WindowComponentBase.animationInputParams = new List<TransitionInputParameters>() |
bool UnityEngine.UI.Windows.WindowComponentBase.animationRefresh = false |
CanvasGroup UnityEngine.UI.Windows.WindowComponentBase.canvas |