Property | Type | Description | |
---|---|---|---|
defaultState | int | ||
delay | float | ||
layers | SpriteRoot[], | ||
methodToInvoke | string | ||
scriptWithMethodToInvoke | MonoBehaviour | ||
soundToPlay | |||
whenToInvoke | POINTER_INFO.INPUT_EVENT |
Property | Type | Description | |
---|---|---|---|
curStateIndex | int | ||
layerState | int | ||
overLayerState | int | ||
stateChangeWhileDeactivated | bool | ||
stateIndices | ].int[ |
Method | Description | |
---|---|---|
Copy ( SpriteRoot, s ) : void | ||
Copy ( SpriteRoot, s, ControlCopyFlags flags ) : void | ||
Create ( string name, Vector3 pos ) : UIStateToggleBtn, |
Creates a GameObject and attaches this component type to it.
|
|
Create ( string name, Vector3 pos, Quaternion rotation ) : UIStateToggleBtn, |
Creates a GameObject and attaches this component type to it.
|
|
DrawPostStateSelectGUI ( int selState ) : int | ||
DrawPreStateSelectGUI ( int selState, bool inspector ) : int | ||
DrawPreTransitionUI ( int selState, IGUIScriptSelector gui ) : void | ||
GetStateLabel ( int index ) : string | ||
GetTransitions ( int index ) : EZTransitionList | ||
InitUVs ( ) : void | ||
OnInput ( POINTER_INFO, &ptr ) : void | ||
SetStateLabel ( int index, string label ) : void | ||
SetToggleState ( int s ) : void |
Sets the button's toggle state to the specified state.
|
|
SetToggleState ( int s, bool suppressTransition ) : void |
Sets the button's toggle state to the specified state.
|
|
SetToggleState ( string stateName ) : void |
Sets the button's toggle state to the specified state. Does nothing if the specified state is not found.
|
|
SetToggleState ( string stateName, bool suppressTransition ) : void |
Sets the button's toggle state to the specified state. Does nothing if the specified state is not found.
|
|
Start ( ) : void | ||
ToggleState ( ) : int |
Toggles the button's state to the next in the sequence and returns the resulting state number.
|
Method | Description | |
---|---|---|
Awake ( ) : void | ||
DisableMe ( ) : void | ||
OnEnable ( ) : void | ||
SetLayerState ( int s ) : void |
public Copy ( SpriteRoot, s, ControlCopyFlags flags ) : void | ||
s | SpriteRoot, | |
flags | ControlCopyFlags | |
return | void |
static public Create ( string name, Vector3 pos ) : UIStateToggleBtn, | ||
name | string | Name to give to the new GameObject. |
pos | Vector3 | Position, in world space, where the new object should be created. |
return | UIStateToggleBtn, |
static public Create ( string name, Vector3 pos, Quaternion rotation ) : UIStateToggleBtn, | ||
name | string | Name to give to the new GameObject. |
pos | Vector3 | Position, in world space, where the new object should be created. |
rotation | Quaternion | Rotation of the object. |
return | UIStateToggleBtn, |
public DrawPostStateSelectGUI ( int selState ) : int | ||
selState | int | |
return | int |
public DrawPreStateSelectGUI ( int selState, bool inspector ) : int | ||
selState | int | |
inspector | bool | |
return | int |
public DrawPreTransitionUI ( int selState, IGUIScriptSelector gui ) : void | ||
selState | int | |
gui | IGUIScriptSelector | |
return | void |
public GetTransitions ( int index ) : EZTransitionList | ||
index | int | |
return | EZTransitionList |
public SetStateLabel ( int index, string label ) : void | ||
index | int | |
label | string | |
return | void |
public SetToggleState ( int s ) : void | ||
s | int | The zero-based state number/index. |
return | void |
public SetToggleState ( int s, bool suppressTransition ) : void | ||
s | int | The zero-based state number/index. |
suppressTransition | bool | Whether or not to suppress transitions when changing states. |
return | void |
public SetToggleState ( string stateName ) : void | ||
stateName | string | |
return | void |
public SetToggleState ( string stateName, bool suppressTransition ) : void | ||
stateName | string | |
suppressTransition | bool | Whether or not to suppress transitions when changing states. |
return | void |
public MonoBehaviour scriptWithMethodToInvoke | ||
return | MonoBehaviour |
public AudioSource,UnityEngine soundToPlay | ||
return |
protected bool stateChangeWhileDeactivated | ||
return | bool |