Young, strong and crazy!
Public Member Functions | Public Attributes | List of all members
UnityEngine.UI.Windows.WindowComponentBase Class Reference
Inheritance diagram for UnityEngine.UI.Windows.WindowComponentBase:
Inheritance graph
[legend]
Collaboration diagram for UnityEngine.UI.Windows.WindowComponentBase:
Collaboration graph
[legend]

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< TransitionInputParametersanimationInputParams = new List<TransitionInputParameters>()
 
CanvasGroup canvas
 
bool animationRefresh = false
 

Member Function Documentation

virtual float UnityEngine.UI.Windows.WindowComponentBase.GetAnimationDuration ( bool  forward)
virtual

Gets the duration of the animation.

Returns
The animation duration.
Parameters
forwardIf set to true forward.

Implements UnityEngine.UI.Windows.IWindowAnimation.

Here is the call graph for this function:

Here is the caller graph for this function:

WindowObjectState UnityEngine.UI.Windows.WindowComponentBase.GetComponentState ( )

Gets the state of the component.

Returns
The component state.
void UnityEngine.UI.Windows.WindowComponentBase.Hide ( )

Hide this instance.

Animation component can use current layout element root or current component root.

Here is the caller graph for this function:

void UnityEngine.UI.Windows.WindowComponentBase.Hide ( bool  immediately)

Hide the specified immediately.

Animation component can use current layout element root or current component root.

Parameters
immediatelyIf set to true immediately.
virtual void UnityEngine.UI.Windows.WindowComponentBase.Hide ( System.Action  callback,
bool  immediately 
)
virtual

Hide the specified callback and immediately.

Animation component can use current layout element root or current component root.

Parameters
callbackCallback.
immediatelyIf set to true immediately.

Reimplemented in UnityEngine.UI.Windows.WindowLayoutBase.

virtual void UnityEngine.UI.Windows.WindowComponentBase.OnDeinit ( )
virtual
virtual void UnityEngine.UI.Windows.WindowComponentBase.OnHideBegin ( System.Action  callback)
virtual

Raises the hide begin event.

Wait while all sub components return the callback. You can override this method but call it's base.

Parameters
callbackCallback.

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.

Here is the caller graph for this function:

virtual void UnityEngine.UI.Windows.WindowComponentBase.OnHideEnd ( )
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.

Here is the caller graph for this function:

virtual void UnityEngine.UI.Windows.WindowComponentBase.OnInit ( )
virtual
virtual void UnityEngine.UI.Windows.WindowComponentBase.OnShowBegin ( System.Action  callback)
virtual

Raises the show begin event.

Wait while all sub components return the callback. You can override this method but call it's base.

Parameters
callbackCallback.

Implements UnityEngine.UI.Windows.IWindowEventsAsync.

Reimplemented in UnityEngine.UI.Windows.WindowComponent, UnityEngine.UI.Windows.Components.PopupComponent, and UnityEngine.UI.Windows.Components.LinkerComponent.

Here is the caller graph for this function:

virtual void UnityEngine.UI.Windows.WindowComponentBase.OnShowEnd ( )
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.

Here is the caller graph for this function:

void UnityEngine.UI.Windows.WindowComponentBase.SetInState ( )

Set up in state to animation.

Here is the call graph for this function:

Here is the caller graph for this function:

void UnityEngine.UI.Windows.WindowComponentBase.SetOutState ( )

Set up out state to animation.

Here is the call graph for this function:

void UnityEngine.UI.Windows.WindowComponentBase.SetResetState ( )

Set up reset state to animation.

Here is the call graph for this function:

Here is the caller graph for this function:

void UnityEngine.UI.Windows.WindowComponentBase.Show ( bool  resetAnimation = true)

Show component.

Animation component can use current layout element root or current component root.

Parameters
resetAnimationIf set to true reset animation.

Here is the caller graph for this function:

virtual void UnityEngine.UI.Windows.WindowComponentBase.Show ( System.Action  callback,
bool  resetAnimation 
)
virtual

Show component with callback after end.

Animation component can use current layout element root or current component root.

Parameters
callbackCallback.
resetAnimationIf set to true reset animation.

Reimplemented in UnityEngine.UI.Windows.WindowLayoutBase.

Member Data Documentation

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

Fri Apr 3 2015 14:05:26   Generated by   doxygen   Content copyrighted to Alex