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

Public Member Functions

override void OnInit ()
 Raises the init event. More...
 
virtual void SetCallback (UnityAction< bool > callback)
 
virtual void SetCallback (UnityAction< ToggleItemComponent, bool > callback)
 
override T AddItem< T > ()
 
override void Clear ()
 
void Select (IComponent element)
 
void Select (int index)
 
- Public Member Functions inherited from UnityEngine.UI.Windows.Components.List
void InitPool (int capacity)
 
void SetupAsDropdown (float maxHeight)
 
int GetIndexOf< T > (T item)
 
List< WindowComponentGetItems ()
 
List< T > GetItems< T > ()
 
GetItem< T > (int index)
 
virtual void SetItems (int capacity, UnityAction< IComponent > onItem=null)
 
virtual void SetItems< T > (int capacity, UnityAction< T, int > onItem=null)
 
virtual void SetItemsAsync< T > (int capacity, UnityAction onComplete, UnityAction< T, int > onItem=null)
 
override void OnHideBegin (System.Action callback)
 Raises the hide begin event. More...
 
void Refresh ()
 
- 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

ToggleGroup toggleGroup
 
bool allowSwitchOff = false
 
- Public Attributes inherited from UnityEngine.UI.Windows.Components.List
WindowComponent source
 
Extensions.ScrollRect scrollRect
 
GameObject content
 
GameObject noElements
 
- 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

override T UnityEngine.UI.Windows.Components.ToggleComponent.AddItem< T > ( )
virtual

Reimplemented from UnityEngine.UI.Windows.Components.List.

Here is the call graph for this function:

override void UnityEngine.UI.Windows.Components.ToggleComponent.Clear ( )
virtual
override void UnityEngine.UI.Windows.Components.ToggleComponent.OnInit ( )
virtual

Raises the init event.

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

Reimplemented from UnityEngine.UI.Windows.Components.List.

void UnityEngine.UI.Windows.Components.ToggleComponent.Select ( IComponent  element)
void UnityEngine.UI.Windows.Components.ToggleComponent.Select ( int  index)
virtual void UnityEngine.UI.Windows.Components.ToggleComponent.SetCallback ( UnityAction< bool >  callback)
virtual
virtual void UnityEngine.UI.Windows.Components.ToggleComponent.SetCallback ( UnityAction< ToggleItemComponent, bool >  callback)
virtual

Member Data Documentation

bool UnityEngine.UI.Windows.Components.ToggleComponent.allowSwitchOff = false
ToggleGroup UnityEngine.UI.Windows.Components.ToggleComponent.toggleGroup

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