Arbor: State Diagram Editor  2.2.0
ParameterContainerInternal Class Reference

ParameterContainer. More...

Inheritance diagram for ParameterContainerInternal:
ParameterContainerBase ParameterContainer

Public Member Functions

Parameter AddParam (string name, Parameter.Type type)
 Add a parameter. More...
 
Parameter GetParam (string name)
 Get the parameters from the name. More...
 
int GetParamID (string name)
 Get the parameters ID from the name. More...
 
Parameter GetParam (int id)
 Get the parameters from the ID. More...
 
void DeleteParam (Parameter parameter)
 Delete a parameter. More...
 
void DeleteParam (string name)
 Delete the parameters by name. More...
 
void DeleteParam (int id)
 Delete the parameters by ID. More...
 
string MakeUniqueName (string name)
 It generates a name that does not overlap. More...
 
bool SetFloat (string name, float value)
 It wants to set the value of the Float type. More...
 
bool SetFloat (int id, float value)
 It wants to set the value of the Float type. More...
 
bool GetFloat (string name, out float value)
 Get the value of the Float type. More...
 
bool GetFloat (int id, out float value)
 Get the value of the Float type. More...
 
bool SetInt (string name, int value)
 It wants to set the value of the Int type. More...
 
bool SetInt (int id, int value)
 It wants to set the value of the Int type. More...
 
bool GetInt (string name, out int value)
 Get the value of the Int type. More...
 
bool GetInt (int id, out int value)
 Get the value of the Int type. More...
 
bool SetBool (string name, bool value)
 It wants to set the value of the Bool type. More...
 
bool SetBool (int id, bool value)
 It wants to set the value of the Bool type. More...
 
bool GetBool (string name, out bool value)
 Get the value of the Bool type. More...
 
bool GetBool (int id, out bool value)
 Get the value of the Bool type. More...
 
bool SetString (string name, string value)
 It wants to set the value of the String type. More...
 
bool SetString (int id, string value)
 It wants to set the value of the String type. More...
 
bool GetString (string name, out string value)
 Get the value of the String type. More...
 
bool GetString (int id, out string value)
 Get the value of the String type. More...
 
bool SetGameObject (string name, GameObject value)
 It wants to set the value of the GameObject type. More...
 
bool SetGameObject (int id, GameObject value)
 It wants to set the value of the GameObject type. More...
 
bool GetGameObject (string name, out GameObject value)
 Get the value of the GameObject type. More...
 
bool GetGameObject (int id, out GameObject value)
 Get the value of the GameObject type. More...
 
bool SetVector2 (string name, Vector2 value)
 It wants to set the value of the Vector2 type. More...
 
bool SetVector2 (int id, Vector2 value)
 It wants to set the value of the Vector2 type. More...
 
bool GetVector2 (string name, out Vector2 value)
 Get the value of the Vector2 type. More...
 
bool GetVector2 (int id, out Vector2 value)
 Get the value of the Vector2 type. More...
 
bool SetVector3 (string name, Vector3 value)
 It wants to set the value of the Vector3 type. More...
 
bool SetVector3 (int id, Vector3 value)
 It wants to set the value of the Vector3 type. More...
 
bool GetVector3 (string name, out Vector3 value)
 Get the value of the Vector3 type. More...
 
bool GetVector3 (int id, out Vector3 value)
 Get the value of the Vector3 type. More...
 
bool SetQuaternion (string name, Quaternion value)
 It wants to set the value of the Quaternion type. More...
 
bool SetQuaternion (int id, Quaternion value)
 It wants to set the value of the Quaternion type. More...
 
bool GetQuaternion (string name, out Quaternion value)
 Get the value of the Quaternion type. More...
 
bool GetQuaternion (int id, out Quaternion value)
 Get the value of the Quaternion type. More...
 
bool SetRect (string name, Rect value)
 It wants to set the value of the Rect type. More...
 
bool SetRect (int id, Rect value)
 It wants to set the value of the Rect type. More...
 
bool GetRect (string name, out Rect value)
 Get the value of the Rect type. More...
 
bool GetRect (int id, out Rect value)
 Get the value of the Rect type. More...
 
bool SetBounds (string name, Bounds value)
 It wants to set the value of the Bounds type. More...
 
bool SetBounds (int id, Bounds value)
 It wants to set the value of the Bounds type. More...
 
bool GetBounds (string name, out Bounds value)
 Get the value of the Bounds type. More...
 
bool GetBounds (int id, out Bounds value)
 Get the value of the Bounds type. More...
 
bool SetTransform (string name, Transform value)
 It wants to set the value of the Transform type. More...
 
bool SetTransform (int id, Transform value)
 It wants to set the value of the Transform type. More...
 
bool GetTransform (string name, out Transform value)
 Get the value of the Transform type. More...
 
bool GetTransform (int id, out Transform value)
 Get the value of the Transform type. More...
 
bool SetRectTransform (string name, RectTransform value)
 It wants to set the value of the RectTransform type. More...
 
bool SetRectTransform (int id, RectTransform value)
 It wants to set the value of the RectTransform type. More...
 
bool GetRectTransform (string name, out RectTransform value)
 Get the value of the RectTransform type. More...
 
bool GetRectTransform (int id, out RectTransform value)
 Get the value of the RectTransform type. More...
 
bool SetRigidbody (string name, Rigidbody value)
 It wants to set the value of the Rigidbody type. More...
 
bool SetRigidbody (int id, Rigidbody value)
 It wants to set the value of the Rigidbody type. More...
 
bool GetRigidbody (string name, out Rigidbody value)
 Get the value of the Rigidbody type. More...
 
bool GetRigidbody (int id, out Rigidbody value)
 Get the value of the Rigidbody type. More...
 
bool SetRigidbody2D (string name, Rigidbody2D value)
 It wants to set the value of the Rigidbody2D type. More...
 
bool SetRigidbody2D (int id, Rigidbody2D value)
 It wants to set the value of the Rigidbody2D type. More...
 
bool GetRigidbody2D (string name, out Rigidbody2D value)
 Get the value of the Rigidbody2D type. More...
 
bool GetRigidbody2D (int id, out Rigidbody2D value)
 Get the value of the Rigidbody2D type. More...
 

Properties

Parameter[] parameters [get]
 Get an array of parameters. More...
 
- Properties inherited from ParameterContainerBase
ParameterContainerInternal container [get]
 It returns the ParameterContainer entity. More...
 
ParameterContainerInternal defaultContainer [get]
 It returns the original ParameterContainer. More...
 

Detailed Description

ParameterContainer.

Is used by attaching to GameObject.

Member Function Documentation

Parameter AddParam ( string  name,
Parameter.Type  type 
)

Add a parameter.

Parameters
nameName. It is changed to a unique name if the name had been duplicated.
typeType.
Returns
It added parameters.
void DeleteParam ( Parameter  parameter)

Delete a parameter.

Parameters
parameterParameter.
void DeleteParam ( string  name)

Delete the parameters by name.

Parameters
nameName.
void DeleteParam ( int  id)

Delete the parameters by ID.

Parameters
idID.
bool GetBool ( string  name,
out bool  value 
)

Get the value of the Bool type.

Parameters
nameName.
valueValue.
Returns
The true when there parameters of the specified name.
bool GetBool ( int  id,
out bool  value 
)

Get the value of the Bool type.

Parameters
idID.
valueValue.
Returns
The true when there parameters of the specified name.
bool GetBounds ( string  name,
out Bounds  value 
)

Get the value of the Bounds type.

Parameters
nameName.
valueThe value you get.
Returns
The true when there parameters of the specified name.
bool GetBounds ( int  id,
out Bounds  value 
)

Get the value of the Bounds type.

Parameters
idID.
valueThe value you get.
Returns
The true when there parameters of the specified name.
bool GetFloat ( string  name,
out float  value 
)

Get the value of the Float type.

Parameters
nameName.
valueThe value you get.
Returns
The true when there parameters of the specified name.
bool GetFloat ( int  id,
out float  value 
)

Get the value of the Float type.

Parameters
idID.
valueThe value you get.
Returns
The true when there parameters of the specified name.
bool GetGameObject ( string  name,
out GameObject  value 
)

Get the value of the GameObject type.

Parameters
nameName.
valueThe value you get.
Returns
The true when there parameters of the specified name.
bool GetGameObject ( int  id,
out GameObject  value 
)

Get the value of the GameObject type.

Parameters
idID.
valueThe value you get.
Returns
The true when there parameters of the specified name.
bool GetInt ( string  name,
out int  value 
)

Get the value of the Int type.

Parameters
nameName.
valueValue.
Returns
The true when there parameters of the specified name.
bool GetInt ( int  id,
out int  value 
)

Get the value of the Int type.

Parameters
idID.
valueValue.
Returns
The true when there parameters of the specified name.
Parameter GetParam ( string  name)

Get the parameters from the name.

Parameters
nameName.
Returns
Parameters. Return null if you did not exist.
Parameter GetParam ( int  id)

Get the parameters from the ID.

Parameters
idID.
Returns
Parameters. Return null if you did not exist.
int GetParamID ( string  name)

Get the parameters ID from the name.

Parameters
nameName.
Returns
Parameters ID. Return 0 if you did not exist.
bool GetQuaternion ( string  name,
out Quaternion  value 
)

Get the value of the Quaternion type.

Parameters
nameName.
valueThe value you get.
Returns
The true when there parameters of the specified name.
bool GetQuaternion ( int  id,
out Quaternion  value 
)

Get the value of the Quaternion type.

Parameters
idID.
valueThe value you get.
Returns
The true when there parameters of the specified name.
bool GetRect ( string  name,
out Rect  value 
)

Get the value of the Rect type.

Parameters
nameName.
valueThe value you get.
Returns
The true when there parameters of the specified name.
bool GetRect ( int  id,
out Rect  value 
)

Get the value of the Rect type.

Parameters
idID.
valueThe value you get.
Returns
The true when there parameters of the specified name.
bool GetRectTransform ( string  name,
out RectTransform  value 
)

Get the value of the RectTransform type.

Parameters
nameName.
valueThe value you get.
Returns
The true when there parameters of the specified name.
bool GetRectTransform ( int  id,
out RectTransform  value 
)

Get the value of the RectTransform type.

Parameters
idID.
valueThe value you get.
Returns
The true when there parameters of the specified name.
bool GetRigidbody ( string  name,
out Rigidbody  value 
)

Get the value of the Rigidbody type.

Parameters
nameName.
valueThe value you get.
Returns
The true when there parameters of the specified name.
bool GetRigidbody ( int  id,
out Rigidbody  value 
)

Get the value of the Rigidbody type.

Parameters
idID.
valueThe value you get.
Returns
The true when there parameters of the specified name.
bool GetRigidbody2D ( string  name,
out Rigidbody2D  value 
)

Get the value of the Rigidbody2D type.

Parameters
nameName.
valueThe value you get.
Returns
The true when there parameters of the specified name.
bool GetRigidbody2D ( int  id,
out Rigidbody2D  value 
)

Get the value of the Rigidbody2D type.

Parameters
idID.
valueThe value you get.
Returns
The true when there parameters of the specified name.
bool GetString ( string  name,
out string  value 
)

Get the value of the String type.

Parameters
nameName.
valueValue.
Returns
The true when there parameters of the specified name.
bool GetString ( int  id,
out string  value 
)

Get the value of the String type.

Parameters
idID.
valueValue.
Returns
The true when there parameters of the specified name.
bool GetTransform ( string  name,
out Transform  value 
)

Get the value of the Transform type.

Parameters
nameName.
valueThe value you get.
Returns
The true when there parameters of the specified name.
bool GetTransform ( int  id,
out Transform  value 
)

Get the value of the Transform type.

Parameters
idID.
valueThe value you get.
Returns
The true when there parameters of the specified name.
bool GetVector2 ( string  name,
out Vector2  value 
)

Get the value of the Vector2 type.

Parameters
nameName.
valueThe value you get.
Returns
The true when there parameters of the specified name.
bool GetVector2 ( int  id,
out Vector2  value 
)

Get the value of the Vector2 type.

Parameters
idID.
valueThe value you get.
Returns
The true when there parameters of the specified name.
bool GetVector3 ( string  name,
out Vector3  value 
)

Get the value of the Vector3 type.

Parameters
nameName.
valueThe value you get.
Returns
The true when there parameters of the specified name.
bool GetVector3 ( int  id,
out Vector3  value 
)

Get the value of the Vector3 type.

Parameters
idID.
valueThe value you get.
Returns
The true when there parameters of the specified name.
string MakeUniqueName ( string  name)

It generates a name that does not overlap.

Parameters
nameThe original name.
Returns
Result.
bool SetBool ( string  name,
bool  value 
)

It wants to set the value of the Bool type.

Parameters
nameName.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetBool ( int  id,
bool  value 
)

It wants to set the value of the Bool type.

Parameters
idID.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetBounds ( string  name,
Bounds  value 
)

It wants to set the value of the Bounds type.

Parameters
nameName.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetBounds ( int  id,
Bounds  value 
)

It wants to set the value of the Bounds type.

Parameters
idID.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetFloat ( string  name,
float  value 
)

It wants to set the value of the Float type.

Parameters
nameName.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetFloat ( int  id,
float  value 
)

It wants to set the value of the Float type.

Parameters
idID.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetGameObject ( string  name,
GameObject  value 
)

It wants to set the value of the GameObject type.

Parameters
nameName.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetGameObject ( int  id,
GameObject  value 
)

It wants to set the value of the GameObject type.

Parameters
idID.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetInt ( string  name,
int  value 
)

It wants to set the value of the Int type.

Parameters
nameName.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetInt ( int  id,
int  value 
)

It wants to set the value of the Int type.

Parameters
idID.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetQuaternion ( string  name,
Quaternion  value 
)

It wants to set the value of the Quaternion type.

Parameters
nameName.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetQuaternion ( int  id,
Quaternion  value 
)

It wants to set the value of the Quaternion type.

Parameters
idID.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetRect ( string  name,
Rect  value 
)

It wants to set the value of the Rect type.

Parameters
nameName.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetRect ( int  id,
Rect  value 
)

It wants to set the value of the Rect type.

Parameters
idID.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetRectTransform ( string  name,
RectTransform  value 
)

It wants to set the value of the RectTransform type.

Parameters
nameName.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetRectTransform ( int  id,
RectTransform  value 
)

It wants to set the value of the RectTransform type.

Parameters
idID.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetRigidbody ( string  name,
Rigidbody  value 
)

It wants to set the value of the Rigidbody type.

Parameters
nameName.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetRigidbody ( int  id,
Rigidbody  value 
)

It wants to set the value of the Rigidbody type.

Parameters
idID.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetRigidbody2D ( string  name,
Rigidbody2D  value 
)

It wants to set the value of the Rigidbody2D type.

Parameters
nameName.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetRigidbody2D ( int  id,
Rigidbody2D  value 
)

It wants to set the value of the Rigidbody2D type.

Parameters
idID.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetString ( string  name,
string  value 
)

It wants to set the value of the String type.

Parameters
nameName.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetString ( int  id,
string  value 
)

It wants to set the value of the String type.

Parameters
idID.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetTransform ( string  name,
Transform  value 
)

It wants to set the value of the Transform type.

Parameters
nameName.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetTransform ( int  id,
Transform  value 
)

It wants to set the value of the Transform type.

Parameters
idID.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetVector2 ( string  name,
Vector2  value 
)

It wants to set the value of the Vector2 type.

Parameters
nameName.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetVector2 ( int  id,
Vector2  value 
)

It wants to set the value of the Vector2 type.

Parameters
idID.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetVector3 ( string  name,
Vector3  value 
)

It wants to set the value of the Vector3 type.

Parameters
nameName.
valueValue.
Returns
The true when there parameters of the specified name.
bool SetVector3 ( int  id,
Vector3  value 
)

It wants to set the value of the Vector3 type.

Parameters
idID.
valueValue.
Returns
The true when there parameters of the specified name.

Property Documentation

Parameter [] parameters
get

Get an array of parameters.