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

Public Member Functions

override void OnInit ()
 Raises the init event. More...
 
override void OnHideBegin (System.Action callback)
 Raises the hide begin event. More...
 
virtual void SetCallback (UnityAction< float > callback)
 
virtual void SetCallback (UnityAction< ProgressComponent, float > callback)
 
void SetStep (float minValue, float maxValue, bool roundToInt)
 
void SetAsContinuous (float width=0.4f)
 
void SetAsDefault ()
 
void BreakAnimation ()
 
void SetAnimation ()
 
void SetValue (System.Func< float > getValue, bool immediately=false)
 
virtual void LateUpdate ()
 
void SetValue (float value, bool immediately=false)
 
float GetValue ()
 
float GetValueNormalized ()
 
- Public Member Functions inherited from UnityEngine.UI.Windows.Components.ColoredComponent
virtual void SetColor (Color color)
 
virtual Color GetColor ()
 
- Public Member Functions inherited from UnityEngine.UI.Windows.WindowComponent
List< WindowComponentGetSubComponents ()
 Gets the sub components. More...
 
WindowLayoutBase GetLayoutRoot ()
 Gets the layout root. More...
 
void RegisterSubComponent (WindowComponent subComponent)
 Registers the sub component. More...
 
void UnregisterSubComponent (WindowComponent subComponent)
 Unregisters the sub component. More...
 
override void OnDeinit ()
 Raises the deinit event. More...
 
override void OnShowEnd ()
 Raises the show end event. More...
 
override void OnHideEnd ()
 Raises the hide end event. More...
 
override void OnShowBegin (System.Action callback)
 Raises the show begin event. 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...
 
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...
 
- Public Member Functions inherited from UnityEngine.UI.Windows.WindowObject
WindowBase GetWindow ()
 
void HideCurrentWindow ()
 

Public Attributes

float duration = 0f
 
float minNormalizedValue = 0f
 
Extensions.Slider bar
 
bool continious
 
float continiousWidth = 0.4f
 
float continiousAngleStep = 0f
 
- Public Attributes inherited from UnityEngine.UI.Windows.Components.ColoredComponent
Image[] images
 
- Public Attributes inherited from UnityEngine.UI.Windows.WindowComponent
bool autoRegisterSubComponents = true
 
- Public Attributes inherited from UnityEngine.UI.Windows.WindowComponentBase
new WindowAnimationBase animation
 
List< TransitionInputParametersanimationInputParams = new List<TransitionInputParameters>()
 
CanvasGroup canvas
 
bool animationRefresh = false
 

Member Function Documentation

void UnityEngine.UI.Windows.Components.ProgressComponent.BreakAnimation ( )
float UnityEngine.UI.Windows.Components.ProgressComponent.GetValue ( )
float UnityEngine.UI.Windows.Components.ProgressComponent.GetValueNormalized ( )
virtual void UnityEngine.UI.Windows.Components.ProgressComponent.LateUpdate ( )
virtual
override void UnityEngine.UI.Windows.Components.ProgressComponent.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.

Reimplemented from UnityEngine.UI.Windows.WindowComponent.

Reimplemented in UnityEngine.UI.Windows.Components.ProgressWithParticlesComponent.

override void UnityEngine.UI.Windows.Components.ProgressComponent.OnInit ( )
virtual

Raises the init event.

You can override this method but call it's base.

Reimplemented from UnityEngine.UI.Windows.WindowComponent.

Reimplemented in UnityEngine.UI.Windows.Components.ProgressWithParticlesComponent.

void UnityEngine.UI.Windows.Components.ProgressComponent.SetAnimation ( )
void UnityEngine.UI.Windows.Components.ProgressComponent.SetAsContinuous ( float  width = 0.4f)
void UnityEngine.UI.Windows.Components.ProgressComponent.SetAsDefault ( )
virtual void UnityEngine.UI.Windows.Components.ProgressComponent.SetCallback ( UnityAction< float >  callback)
virtual
virtual void UnityEngine.UI.Windows.Components.ProgressComponent.SetCallback ( UnityAction< ProgressComponent, float >  callback)
virtual
void UnityEngine.UI.Windows.Components.ProgressComponent.SetStep ( float  minValue,
float  maxValue,
bool  roundToInt 
)
void UnityEngine.UI.Windows.Components.ProgressComponent.SetValue ( System.Func< float >  getValue,
bool  immediately = false 
)
void UnityEngine.UI.Windows.Components.ProgressComponent.SetValue ( float  value,
bool  immediately = false 
)

Member Data Documentation

Extensions.Slider UnityEngine.UI.Windows.Components.ProgressComponent.bar
bool UnityEngine.UI.Windows.Components.ProgressComponent.continious
float UnityEngine.UI.Windows.Components.ProgressComponent.continiousAngleStep = 0f
float UnityEngine.UI.Windows.Components.ProgressComponent.continiousWidth = 0.4f
float UnityEngine.UI.Windows.Components.ProgressComponent.duration = 0f
float UnityEngine.UI.Windows.Components.ProgressComponent.minNormalizedValue = 0f

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