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... | |
T | 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... | |
float UnityEngine.UI.Windows.WindowBase.GetAnimationDuration | ( | bool | forward | ) |
Gets the duration of the animation.
forward | If set to true forward. |
|
virtual |
Gets the duration of the layout animation.
forward | If set to true forward. |
Reimplemented in UnityEngine.UI.Windows.Types.TipWindowType, and UnityEngine.UI.Windows.Types.LayoutWindowType.
|
protectedvirtual |
Reimplemented in UnityEngine.UI.Windows.Types.TipWindowType, and UnityEngine.UI.Windows.Types.LayoutWindowType.
T UnityEngine.UI.Windows.WindowBase.GetModule< T > | ( | ) |
Gets the module.
T | The 1st type parameter. |
T | : | WindowModule |
|
virtual |
Gets the duration of the module animation.
forward | If set to true forward. |
|
virtual |
Gets the name of the sorting layer.
Reimplemented in UnityEngine.UI.Windows.Types.LayoutWindowType.
|
virtual |
Gets the sorting order.
Reimplemented in UnityEngine.UI.Windows.Types.LayoutWindowType.
WindowObjectState UnityEngine.UI.Windows.WindowBase.GetState | ( | ) |
Gets the state.
|
virtual |
Gets the duration of the transition animation.
forward | If set to true forward. |
bool UnityEngine.UI.Windows.WindowBase.Hide | ( | ) |
Hide this instance.
bool UnityEngine.UI.Windows.WindowBase.Hide | ( | System.Action | onHideEnd | ) |
Hide the specified onHideEnd.
Wait while all components, animations, events and modules return the callback.
onHideEnd | On hide end. |
|
virtual |
Raises the deinit event.
Implements UnityEngine.UI.Windows.IWindowEventsAsync.
|
virtual |
Raises the empty pass event.
|
virtual |
Raises the hide begin event.
callback | Callback. |
Implements UnityEngine.UI.Windows.IWindowEventsAsync.
|
virtual |
Raises the hide end event.
Implements UnityEngine.UI.Windows.IWindowEventsAsync.
|
virtual |
Raises the init event.
Implements UnityEngine.UI.Windows.IWindowEventsAsync.
|
protectedvirtual |
Raises the layout deinit event.
Reimplemented in UnityEngine.UI.Windows.Types.LayoutWindowType, and UnityEngine.UI.Windows.Types.TipWindowType.
|
protectedvirtual |
Raises the layout hide begin event.
callback | Callback. |
Reimplemented in UnityEngine.UI.Windows.Types.TipWindowType, and UnityEngine.UI.Windows.Types.LayoutWindowType.
|
protectedvirtual |
Raises the layout hide end event.
Reimplemented in UnityEngine.UI.Windows.Types.LayoutWindowType, and UnityEngine.UI.Windows.Types.TipWindowType.
|
protectedvirtual |
Raises the layout init event.
depth | Depth. |
raycastPriority | Raycast priority. |
orderInLayer | Order in layer. |
Reimplemented in UnityEngine.UI.Windows.Types.LayoutWindowType, and UnityEngine.UI.Windows.Types.TipWindowType.
|
protectedvirtual |
Raises the layout show begin event.
callback | Callback. |
Reimplemented in UnityEngine.UI.Windows.Types.TipWindowType, and UnityEngine.UI.Windows.Types.LayoutWindowType.
|
protectedvirtual |
Raises the layout show end event.
Reimplemented in UnityEngine.UI.Windows.Types.LayoutWindowType, and UnityEngine.UI.Windows.Types.TipWindowType.
|
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 |
Raises the show begin event.
callback | Callback. |
Implements UnityEngine.UI.Windows.IWindowEventsAsync.
|
virtual |
Raises the show end event.
Implements UnityEngine.UI.Windows.IWindowEventsAsync.
void UnityEngine.UI.Windows.WindowBase.Show | ( | ) |
Show this instance.
void UnityEngine.UI.Windows.WindowBase.Show | ( | System.Action | onShowEnd | ) |
Show the specified onShowEnd.
onShowEnd | On show end. |
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 |