Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 AddState(state), CJFinc.UItools.UIStateItem
 ApplyCurrentState
F
 Flush, CJFinc.UItools.UIStateGroupControl
 FlushDefaultState, CJFinc.UItools.UIStateItem
 ForceSetState(state), CJFinc.UItools.UIStateItem
G
 GetItem(id), CJFinc.UItools.UIGroup
 GetItem(name), CJFinc.UItools.UIGroup
 GetStateId(state), CJFinc.UItools.UIStateItem
 GetStateItem(itemName), CJFinc.UItools.UIStateGroup
 GetStateName(stateId), CJFinc.UItools.UIStateItem
I
 Init, CJFinc.RichMonoBehaviour
 InitForce, CJFinc.RichMonoBehaviour
 ItemStateChanged(itemName)
R
 RemoveState(state), CJFinc.UItools.UIStateItem
S
 SetAnimationStateRectTransform(state,rectTransform), CJFinc.UItools.UIStateItemAnimation
 SetDefaultStateTo(state), CJFinc.UItools.UIStateItem
 SetItemActive(itemName), CJFinc.UItools.UIStateGroupControl
 SetItemInactive(itemName), CJFinc.UItools.UIStateGroupControl
 SetMode(newMode), CJFinc.UItools.UIStateGroupControl
 SetState(state), CJFinc.UItools.UIStateItem
 SetState(state,force), CJFinc.UItools.UIStateItem
 SetStateActive(force), CJFinc.UItools.UIStateItem
 SetStateDefault(force), CJFinc.UItools.UIStateItem
 SetStateDisabled(force), CJFinc.UItools.UIStateItem
 SetStateExceptItem(state,excludeItemName), CJFinc.UItools.UIStateGroup
 SetStateExceptItems(state,excludeItemsNames), CJFinc.UItools.UIStateGroup
 SetStateForAllItems(state), CJFinc.UItools.UIStateGroup
 SetStateForItem(state,itemName), CJFinc.UItools.UIStateGroup
 SetStateForItems(state,itemsNames), CJFinc.UItools.UIStateGroup
 SetStateInactive(force), CJFinc.UItools.UIStateItem
public int AddState (string state)
Add new state with given name
public virtual void ApplyCurrentState()
called automatically on UIStateItem.OnStateChange event
public override void ApplyCurrentState()
Synchronize current UIStateItem state to all mirrorItems
public void Flush()
Flush all items for default state according to current Mode
public void FlushDefaultState()
Flush default state
public void ForceSetState(string state)
Force change CurrentState to given state
public UIItem GetItem(int id)
Find item by id in items array
public UIItem GetItem(string name)
Find item by name in items array
public int GetStateId(string state)
Get state id by its name from States array
public UIStateItem GetStateItem(string itemName)
Gets UIStateItem by name from StateItems array
public string GetStateName(int stateId)
Get state name by its id from States array
public void Init(bool force = false)
Initialize current component if it’s not initialized yet
public void InitForce()
Force component initialization
public virtual void ItemStateChanged(string itemName)
Internal function.
public override void ItemStateChanged(string itemName)
Internal function.
public void RemoveState (string state)
Remove state by given name
public void SetAnimationStateRectTransform(string state,  
RectTransform rectTransform =  null)
Sets all RectTransform related fields in AnimationStates for specified state
public void SetDefaultStateTo(string state)
Set default state to new state by name
public void SetItemActive(string itemName)
Change item with given name to state UIStateItem.STATE_ACTIVE
public void SetItemInactive(string itemName)
Change item with given name to state UIStateItem.STATE_INACTIVE
public void SetMode(STATE_GROUP_CONTROL_MODE newMode)
Change group mode and set items to initial states
public void SetState(string state)
Change CurrentState to given state if it’s not in given state yet
public void SetState(string state,
bool force)
Change CurrentState to given state
public void SetStateActive(bool force =  false)
Shortcut function to set CurrentState to built-in state UIStateItem.STATE_ACTIVE
public void SetStateDefault(bool force =  false)
Shortcut function to set CurrentState to DefaultState
public void SetStateDisabled(bool force =  false)
Shortcut function to set CurrentState to built-in state STATE_DISABLED
public void SetStateExceptItem(string state,
string excludeItemName)
Set state for all items excluding given item
public void SetStateExceptItems(string state,
string [] excludeItemsNames)
Set state for all items excluding given items names
public void SetStateForAllItems(string state)
Set state for all items
public void SetStateForItem(string state,
string itemName)
Set state for item
public void SetStateForItems(string state,
string [] itemsNames)
Set state for several items
public void SetStateInactive(bool force =  false)
Shortcut function to set CurrentState to built-in state UIStateItem.STATE_INACTIVE
Close