Property | Type | Description | |
---|---|---|---|
defaultState | int | ||
delay | float | ||
methodToInvoke | string | ||
scriptWithMethodToInvoke | MonoBehaviour | ||
soundToPlay | |||
whenToInvoke | POINTER_INFO.INPUT_EVENT |
Property | Type | Description | |
---|---|---|---|
curStateIndex | int |
Method | Description | |
---|---|---|
Copy ( IControl c ) : void | ||
Copy ( IControl c, ControlCopyFlags flags ) : void | ||
Create ( string name, Vector3 pos ) : UIStateToggleBtn3D, |
Creates a GameObject and attaches this component type to it.
|
|
Create ( string name, Vector3 pos, Quaternion rotation ) : UIStateToggleBtn3D, |
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 | ||
GetTransitions ( int index ) : EZTransitionList | ||
OnInput ( POINTER_INFO, ptr ) : void | ||
SetToggleState ( int s ) : 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.
|
|
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 |
public Copy ( IControl c, ControlCopyFlags flags ) : void | ||
c | IControl | |
flags | ControlCopyFlags | |
return | void |
static public Create ( string name, Vector3 pos ) : UIStateToggleBtn3D, | ||
name | string | Name to give to the new GameObject. |
pos | Vector3 | Position, in world space, where the new object should be created. |
return | UIStateToggleBtn3D, |
static public Create ( string name, Vector3 pos, Quaternion rotation ) : UIStateToggleBtn3D, | ||
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 | UIStateToggleBtn3D, |
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 SetToggleState ( int s ) : void | ||
s | int | The zero-based state number/index. |
return | void |
public SetToggleState ( string stateName ) : void | ||
stateName | string | |
return | void |
public MonoBehaviour scriptWithMethodToInvoke | ||
return | MonoBehaviour |
public AudioSource,UnityEngine soundToPlay | ||
return |