Свойство | Type | Description | |
---|---|---|---|
defaultState | int | ||
delay | float | ||
methodToInvoke | string | ||
scriptWithMethodToInvoke | MonoBehaviour | ||
soundToPlay | |||
whenToInvoke | POINTER_INFO.INPUT_EVENT |
Свойство | Type | Description | |
---|---|---|---|
curStateIndex | int |
Méthode | 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.
|
Méthode | Description | |
---|---|---|
Awake ( ) : void | ||
DisableMe ( ) : void |
public Copy ( IControl c, ControlCopyFlags flags ) : void | ||
c | IControl | |
flags | ControlCopyFlags | |
Résultat | 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. |
Résultat | 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. |
Résultat | UIStateToggleBtn3D, |
public DrawPostStateSelectGUI ( int selState ) : int | ||
selState | int | |
Résultat | int |
public DrawPreStateSelectGUI ( int selState, bool inspector ) : int | ||
selState | int | |
inspector | bool | |
Résultat | int |
public DrawPreTransitionUI ( int selState, IGUIScriptSelector gui ) : void | ||
selState | int | |
gui | IGUIScriptSelector | |
Résultat | void |
public GetTransitions ( int index ) : EZTransitionList | ||
index | int | |
Résultat | EZTransitionList |
public OnInput ( POINTER_INFO, ptr ) : void | ||
ptr | POINTER_INFO, | |
Résultat | void |
public SetToggleState ( int s ) : void | ||
s | int | The zero-based state number/index. |
Résultat | void |
public SetToggleState ( string stateName ) : void | ||
stateName | string | |
Résultat | void |
public MonoBehaviour scriptWithMethodToInvoke | ||
Résultat | MonoBehaviour |
public AudioSource,UnityEngine soundToPlay | ||
Résultat |