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

Public Member Functions

WindowObjectState GetState ()
 Gets the state. More...
 
virtual string GetSortingLayerName ()
 Gets the name of the sorting layer. More...
 
virtual int GetSortingOrder ()
 Gets the sorting order. More...
 
float GetAnimationDuration (bool forward)
 Gets the duration of the animation. More...
 
virtual float GetTransitionAnimationDuration (bool forward)
 Gets the duration of the transition animation. More...
 
virtual float GetModuleAnimationDuration (bool forward)
 Gets the duration of the module animation. More...
 
GetModule< T > ()
 Gets the module. More...
 
void Show ()
 Show this instance. More...
 
void Show (System.Action onShowEnd)
 Show the specified onShowEnd. More...
 
bool Hide ()
 Hide this instance. More...
 
bool Hide (System.Action onHideEnd)
 Hide the specified onHideEnd. More...
 
virtual float GetLayoutAnimationDuration (bool forward)
 Gets the duration of the layout animation. More...
 
virtual void OnParametersPass ()
 Raises the parameters pass event. More...
 
virtual void OnEmptyPass ()
 Raises the empty pass event. More...
 
virtual void OnInit ()
 Raises the init event. More...
 
virtual void OnDeinit ()
 Raises the deinit event. More...
 
virtual void OnShowBegin (System.Action callback)
 Raises the show begin event. More...
 
virtual void OnShowEnd ()
 Raises the show end event. More...
 
virtual void OnHideBegin (System.Action callback)
 Raises the hide begin 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

Camera workCamera
 
bool initialized = false
 
Preferences preferences
 
Transition transition
 
Modules.Modules modules
 
Events events
 

Protected Member Functions

virtual Transform GetLayoutRoot ()
 
virtual void OnLayoutInit (float depth, int raycastPriority, int orderInLayer)
 Raises the layout init event. More...
 
virtual void OnLayoutDeinit ()
 Raises the layout deinit event. More...
 
virtual void OnLayoutShowBegin (System.Action callback)
 Raises the layout show begin event. More...
 
virtual void OnLayoutShowEnd ()
 Raises the layout show end event. More...
 
virtual void OnLayoutHideBegin (System.Action callback)
 Raises the layout hide begin event. More...
 
virtual void OnLayoutHideEnd ()
 Raises the layout hide end event. More...
 

Member Function Documentation

float UnityEngine.UI.Windows.WindowBase.GetAnimationDuration ( bool  forward)

Gets the duration of the animation.

Returns
The animation duration.
Parameters
forwardIf set to true forward.
virtual float UnityEngine.UI.Windows.WindowBase.GetLayoutAnimationDuration ( bool  forward)
virtual

Gets the duration of the layout animation.

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

Reimplemented in UnityEngine.UI.Windows.Types.TipWindowType, and UnityEngine.UI.Windows.Types.LayoutWindowType.

virtual Transform UnityEngine.UI.Windows.WindowBase.GetLayoutRoot ( )
protectedvirtual
T UnityEngine.UI.Windows.WindowBase.GetModule< T > ( )

Gets the module.

Returns
The module.
Template Parameters
TThe 1st type parameter.
Type Constraints
T :WindowModule 
virtual float UnityEngine.UI.Windows.WindowBase.GetModuleAnimationDuration ( bool  forward)
virtual

Gets the duration of the module animation.

Returns
The module animation duration.
Parameters
forwardIf set to true forward.
virtual string UnityEngine.UI.Windows.WindowBase.GetSortingLayerName ( )
virtual

Gets the name of the sorting layer.

Returns
The sorting layer name.

Reimplemented in UnityEngine.UI.Windows.Types.LayoutWindowType.

virtual int UnityEngine.UI.Windows.WindowBase.GetSortingOrder ( )
virtual

Gets the sorting order.

Returns
The sorting order.

Reimplemented in UnityEngine.UI.Windows.Types.LayoutWindowType.

WindowObjectState UnityEngine.UI.Windows.WindowBase.GetState ( )

Gets the state.

Returns
The state.

Here is the caller graph for this function:

virtual float UnityEngine.UI.Windows.WindowBase.GetTransitionAnimationDuration ( bool  forward)
virtual

Gets the duration of the transition animation.

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

Here is the call graph for this function:

bool UnityEngine.UI.Windows.WindowBase.Hide ( )

Hide this instance.

Here is the caller graph for this function:

bool UnityEngine.UI.Windows.WindowBase.Hide ( System.Action  onHideEnd)

Hide the specified onHideEnd.

Wait while all components, animations, events and modules return the callback.

Parameters
onHideEndOn hide end.

Here is the call graph for this function:

virtual void UnityEngine.UI.Windows.WindowBase.OnDeinit ( )
virtual

Raises the deinit event.

Implements UnityEngine.UI.Windows.IWindowEventsAsync.

virtual void UnityEngine.UI.Windows.WindowBase.OnEmptyPass ( )
virtual

Raises the empty pass event.

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

Raises the hide begin event.

Parameters
callbackCallback.

Implements UnityEngine.UI.Windows.IWindowEventsAsync.

virtual void UnityEngine.UI.Windows.WindowBase.OnHideEnd ( )
virtual

Raises the hide end event.

Implements UnityEngine.UI.Windows.IWindowEventsAsync.

virtual void UnityEngine.UI.Windows.WindowBase.OnInit ( )
virtual

Raises the init event.

Implements UnityEngine.UI.Windows.IWindowEventsAsync.

virtual void UnityEngine.UI.Windows.WindowBase.OnLayoutDeinit ( )
protectedvirtual

Raises the layout deinit event.

Reimplemented in UnityEngine.UI.Windows.Types.LayoutWindowType, and UnityEngine.UI.Windows.Types.TipWindowType.

virtual void UnityEngine.UI.Windows.WindowBase.OnLayoutHideBegin ( System.Action  callback)
protectedvirtual

Raises the layout hide begin event.

Parameters
callbackCallback.

Reimplemented in UnityEngine.UI.Windows.Types.TipWindowType, and UnityEngine.UI.Windows.Types.LayoutWindowType.

virtual void UnityEngine.UI.Windows.WindowBase.OnLayoutHideEnd ( )
protectedvirtual

Raises the layout hide end event.

Reimplemented in UnityEngine.UI.Windows.Types.LayoutWindowType, and UnityEngine.UI.Windows.Types.TipWindowType.

virtual void UnityEngine.UI.Windows.WindowBase.OnLayoutInit ( float  depth,
int  raycastPriority,
int  orderInLayer 
)
protectedvirtual

Raises the layout init event.

Parameters
depthDepth.
raycastPriorityRaycast priority.
orderInLayerOrder in layer.

Reimplemented in UnityEngine.UI.Windows.Types.LayoutWindowType, and UnityEngine.UI.Windows.Types.TipWindowType.

virtual void UnityEngine.UI.Windows.WindowBase.OnLayoutShowBegin ( System.Action  callback)
protectedvirtual

Raises the layout show begin event.

Parameters
callbackCallback.

Reimplemented in UnityEngine.UI.Windows.Types.TipWindowType, and UnityEngine.UI.Windows.Types.LayoutWindowType.

virtual void UnityEngine.UI.Windows.WindowBase.OnLayoutShowEnd ( )
protectedvirtual

Raises the layout show end event.

Reimplemented in UnityEngine.UI.Windows.Types.LayoutWindowType, and UnityEngine.UI.Windows.Types.TipWindowType.

virtual void UnityEngine.UI.Windows.WindowBase.OnParametersPass ( )
virtual

Raises the parameters pass event.

Don't override this method - use your own. Window will use reflection to determine your method. Example: OnParametersPass(T1 param1, T2 param2, etc.) You can use any types in any order and call window with them.

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

Raises the show begin event.

Parameters
callbackCallback.

Implements UnityEngine.UI.Windows.IWindowEventsAsync.

virtual void UnityEngine.UI.Windows.WindowBase.OnShowEnd ( )
virtual

Raises the show end event.

Implements UnityEngine.UI.Windows.IWindowEventsAsync.

void UnityEngine.UI.Windows.WindowBase.Show ( )

Show this instance.

Here is the caller graph for this function:

void UnityEngine.UI.Windows.WindowBase.Show ( System.Action  onShowEnd)

Show the specified onShowEnd.

Parameters
onShowEndOn show end.

Here is the call graph for this function:

Member Data Documentation

Events UnityEngine.UI.Windows.WindowBase.events
bool UnityEngine.UI.Windows.WindowBase.initialized = false
Modules.Modules UnityEngine.UI.Windows.WindowBase.modules
Preferences UnityEngine.UI.Windows.WindowBase.preferences
Transition UnityEngine.UI.Windows.WindowBase.transition
Camera UnityEngine.UI.Windows.WindowBase.workCamera

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