Arbor 3: FSM & BT Graph Editor 3.5.3

- Main Page
- Packages
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Properties | Events | List of all members
Parameter Class Reference

Class of Parameter to be stored in the ParameterContainer. More...

## Public Types
enum | Type { Int, Float, Bool, GameObject, String, Enum, Vector2 = 1000, Vector3, Quaternion, Rect, Bounds, Color, Transform = 2000, RectTransform, Rigidbody, Rigidbody2D, Component, Long, Variable = 3000 }
| Parameter type. More...

## Public Member Functions
delegate void | DelegateOnChanged (Parameter parameter)
| Delegate called when changing Parameter. More...
void | OnChanged ()
| Call when you change the value. More...
bool | SetFloat (float value)
| It wants to set the value of the Float type. More...
bool | TryGetFloat (out float value)
| Get the value of the Float type. More...
float | GetFloat (float defaultValue=default(float))
| Get the value of the Float type. More...
bool | SetInt (int value)
| It wants to set the value of the Int type. More...
bool | TryGetInt (out int value)
| Get the value of the Int type. More...
int | GetInt (int defaultValue=default(int))
| Get the value of the Int type. More...
bool | SetLong (long value)
| It wants to set the value of the Long type. More...
bool | TryGetLong (out long value)
| Get the value of the Long type. More...
long | GetLong (long defaultValue=default(long))
| Get the value of the Long type. More...
bool | SetBool (bool value)
| It wants to set the value of the Bool type. More...
bool | TryGetBool (out bool value)
| Get the value of the Bool type. More...
bool | GetBool (bool defaultValue=default(bool))
| Get the value of the Bool type. More...
bool | SetString (string value)
| It wants to set the value of the String type. More...
bool | TryGetString (out string value)
| Get the value of the String type. More...
string | GetString (string defaultValue="")
| Get the value of the String type. More...
bool | SetEnumInt (int value)
| It wants to set the value of the Enum type. More...
bool | TryGetEnumInt (out int value)
| Get the value of the Enum type. More...
int | GetEnumInt (int defaultValue=default(int))
| Get the value of the Enum type. More...
bool | SetEnum (System.Enum value)
| It wants to set the value of the Enum type. More...
bool | TryGetEnum (out System.Enum value)
| Get the value of the Enum type. More...
System.Enum | GetEnum (System.Enum defaultValue=null)
| Get the value of the Enum type. More...
bool | SetEnum< TEnum > (TEnum value)
| Set Enum value More...
bool | TryGetEnum< TEnum > (out TEnum value)
| Get the value of the Enum type. More...
TEnum | GetEnum< TEnum > (TEnum defaultValue)
| Get the value of the Enum type. More...
TEnum | GetEnum< TEnum > ()
| Get the value of the Enum type. More...
bool | SetVector2 (Vector2 value)
| It wants to set the value of the Vector2 type. More...
bool | TryGetVector2 (out Vector2 value)
| Get the value of the Vector2 type. More...
Vector2 | GetVector2 (Vector2 defaultValue)
| Get the value of the Vector2 type. More...
Vector2 | GetVector2 ()
| Get the value of the Vector2 type. More...
bool | SetVector3 (Vector3 value)
| It wants to set the value of the Vector3 type. More...
bool | TryGetVector3 (out Vector3 value)
| Get the value of the Vector3 type. More...
Vector3 | GetVector3 (Vector3 defaultValue)
| Get the value of the Vector3 type. More...
Vector3 | GetVector3 ()
| Get the value of the Vector3 type. More...
bool | SetQuaternion (Quaternion value)
| It wants to set the value of the Quaternion type. More...
bool | TryGetQuaternion (out Quaternion value)
| Get the value of the Quaternion type. More...
Quaternion | GetQuaternion (Quaternion defaultValue)
| Get the value of the Quaternion type. More...
Quaternion | GetQuaternion ()
| Get the value of the Quaternion type. More...
bool | SetRect (Rect value)
| It wants to set the value of the Rect type. More...
bool | TryGetRect (out Rect value)
| Get the value of the Rect type. More...
Rect | GetRect (Rect defaultValue)
| Get the value of the Rect type. More...
Rect | GetRect ()
| Get the value of the Rect type. More...
bool | SetBounds (Bounds value)
| It wants to set the value of the Bounds type. More...
bool | TryGetBounds (out Bounds value)
| Get the value of the Bounds type. More...
Bounds | GetBounds (Bounds defaultValue)
| Get the value of the Bounds type. More...
Bounds | GetBounds ()
| Get the value of the Bounds type. More...
bool | SetColor (Color value)
| It wants to set the value of the Color type. More...
bool | TryGetColor (out Color value)
| Get the value of the Color type. More...
Color | GetColor (Color defaultValue)
| Get the value of the Color type. More...
Color | GetColor ()
| Get the value of the Color type. More...
bool | SetGameObject (GameObject value)
| It wants to set the value of the GameObject type. More...
bool | TryGetGameObject (out GameObject value)
| Get the value of the GameObject type. More...
GameObject | GetGameObject (GameObject defaultValue=null)
| Get the value of the GameObject type. More...
bool | SetTransform (Transform value)
| It wants to set the value of the Transform type. More...
bool | TryGetTransform (out Transform value)
| Get the value of the Transform type. More...
Transform | GetTransform (Transform defaultValue=null)
| Get the value of the Transform type. More...
bool | SetRectTransform (RectTransform value)
| It wants to set the value of the RectTransform type. More...
bool | TryGetRectTransform (out RectTransform value)
| Get the value of the RectTransform type. More...
RectTransform | GetRectTransform (RectTransform defaultValue=null)
| Get the value of the RectTransform type. More...
bool | SetRigidbody (Rigidbody value)
| It wants to set the value of the Rigidbody type. More...
bool | TryGetRigidbody (out Rigidbody value)
| Get the value of the Rigidbody type. More...
Rigidbody | GetRigidbody (Rigidbody defaultValue=null)
| Get the value of the Rigidbody type. More...
bool | SetRigidbody2D (Rigidbody2D value)
| It wants to set the value of the Rigidbody2D type. More...
bool | TryGetRigidbody2D (out Rigidbody2D value)
| Get the value of the Rigidbody2D type. More...
Rigidbody2D | GetRigidbody2D (Rigidbody2D defaultValue=null)
| Get the value of the Rigidbody2D type. More...
bool | SetComponent (Component value)
| It wants to set the value of the Component type. More...
bool | TryGetComponent (out Component value)
| Get the value of the Component type. More...
Component | GetComponent (Component defaultValue=null)
| Get the value of the Component type. More...
bool | SetComponent< TComponent > (TComponent value)
| Set Component value More...
bool | TryGetComponent< TComponent > (out TComponent value)
| Get the value of the Component type. More...
TComponent | GetComponent< TComponent > (TComponent defaultValue=null)
| Get the value of the Component type. More...
bool | SetVariable (object value)
| Set Variable value More...
bool | TryGetVariable (out object value)
| Get the value of the Variable type. More...
object | GetVariable (object defaultValue=null)
| Get Variable value More...
bool | SetVariable< TVariable > (TVariable value)
| Set Variable value More...
bool | TryGetVariable< TVariable > (out TVariable value)
| Get the value of the Variable type. More...
TVariable | GetVariable< TVariable > (TVariable defaultValue=default(TVariable))
| Get Variable value More...
bool | GetVariable< TVariable > (ref TVariable value)
| Get Variable value More...
override string | ToString ()
| Convert value to string format. More...
string | ToString (string format)
| Convert value to string format. More...

## Static Public Member Functions
static System.Type | GetValueType (Parameter.Type type, System.Type referenceType=null)
| Get the value type of the parameter. More...

## Public Attributes
ParameterContainerInternal | container
| Container this parameter is stored. More...
int | id
| ID. More...
Type | type
| Type. More...
string | name
| Name. More...
ClassTypeReference | referenceType = new ClassTypeReference()
| the type of objectReferenceValue and Enum. More...

## Properties
ClassTypeReference | componentType`[get, set]`
| Component type More...
bool | isPublicSet`[get]`
| Returns whether this parameter can be set from an external graph. More...
bool | isPublicGet`[get]`
| Returns whether this parameter can be get from an external graph. More...
int | intValue`[get, set]`
| Value of Int type. More...
long | longValue`[get, set]`
| Value of Long type. More...
float | floatValue`[get, set]`
| Value of Float type. More...
bool | boolValue`[get, set]`
| Value of Bool type. More...
string | stringValue`[get, set]`
| Value of String type. More...
bool | isEnum`[get]`
| Returns whether this parameter is of type Enum. More...
int | enumIntValue`[get, set]`
| int Value of Enum type. More...
System.Enum | enumValue`[get, set]`
| Value of Enum type. More...
Vector2 | vector2Value`[get, set]`
| Value of Vector2 type. More...
Vector3 | vector3Value`[get, set]`
| Value of Vector3 type. More...
Quaternion | quaternionValue`[get, set]`
| Value of Quaternion type. More...
Rect | rectValue`[get, set]`
| Value of Rect type. More...
Bounds | boundsValue`[get, set]`
| Value of Bounds type. More...
Color | colorValue`[get, set]`
| Value of Color type. More...
Object | objectReferenceValue`[get, set]`
| Value of Object type. More...
GameObject | gameObjectValue`[get, set]`
| Value of GameObject type. More...
Component | componentValue`[get, set]`
| Value of Component type. More...
Transform | transformValue`[get, set]`
| Value of Transform type. More...
RectTransform | rectTransformValue`[get, set]`
| Value of RectTransform type. More...
Rigidbody | rigidbodyValue`[get, set]`
| Value of Rigidbody type. More...
Rigidbody2D | rigidbody2DValue`[get, set]`
| Value of Rigidbody2D type. More...
VariableBase | variableObject`[get, set]`
| Object that contains Variable. More...
object | variableValue`[get, set]`
| Value of Variable type. More...
System.Type | valueType`[get]`
| Get value type. More...
object | value`[get, set]`
| Get values according to type. More...

## Events
DelegateOnChanged | onChanged
| Callback function to be called when the value is changed. More...

## Detailed Description

Class of Parameter to be stored in the ParameterContainer.

## Member Enumeration Documentation

enum Type
| strong

Parameter type.

Enumerator
Int | Int type.
Float | Float type.
Bool | Bool type.
GameObject | GameObject type.
String | String type.
Enum | Enum type.
Vector2 | Vector2 type.
Vector3 | Vector3 type.
Quaternion | Quaternion type.
Rect | Rect type.
Bounds | Bounds type.
Color | Color type.
Transform | Transform type.
RectTransform | RectTransform type.
Rigidbody | Rigidbody type.
Rigidbody2D | Rigidbody2D type.
Component | Component type.
Long | Long type.
Variable | Variable type.

## Member Function Documentation

delegate void DelegateOnChanged | ( | Parameter | parameter | ) |

Delegate called when changing Parameter.

Parameters

  parameter | Parameter

bool GetBool | ( | bool | defaultValue = `default(bool)` | ) |

Get the value of the Bool type.

Parameters

  defaultValue | Default value. It is returned when there is no parameter.

Returns
  The value of the parameter. If there is no parameter, it returns defaultValue.

Bounds GetBounds | ( | Bounds | defaultValue | ) |

Get the value of the Bounds type.

Parameters

  defaultValue | Default value. It is returned when there is no parameter.

Returns
  The value of the parameter. If there is no parameter, it returns defaultValue.

Bounds GetBounds | ( |  | ) |

Get the value of the Bounds type.

Returns
  The value of the parameter. If there is no parameter, it returns 0 bounds.

Color GetColor | ( | Color | defaultValue | ) |

Get the value of the Color type.

Parameters

  defaultValue | Default value. It is returned when there is no parameter.

Returns
  The value of the parameter. If there is no parameter, it returns defaultValue.

Color GetColor | ( |  | ) |

Get the value of the Color type.

Returns
  The value of the parameter. If there is no parameter, it returns Color.white.

Component GetComponent | ( | Component | defaultValue = `null` | ) |

Get the value of the Component type.

Parameters

  defaultValue | Default value. It is returned when there is no parameter.

Returns
  The value of the parameter. If there is no parameter, it returns defaultValue.

TComponent GetComponent< TComponent > | ( | TComponent | defaultValue = `null` | ) |

Get the value of the Component type.

Parameters

  defaultValue | Default value. It is returned when there is no parameter.

Returns
  The value of the parameter. If there is no parameter, it returns defaultValue.

Type Constraints

  TComponent | : | Component |

System.Enum GetEnum | ( | System.Enum | defaultValue = `null` | ) |

Get the value of the Enum type.

Parameters

  defaultValue | Default value. It is returned when there is no parameter.

Returns
  The value of the parameter. If there is no parameter, it returns defaultValue.

TEnum GetEnum< TEnum > | ( | TEnum | defaultValue | ) |

Get the value of the Enum type.

Parameters

  defaultValue | Default value. It is returned when there is no parameter.

Returns
  The value of the parameter. If there is no parameter, it returns defaultValue.

Type Constraints

  TEnum | : | struct |

TEnum GetEnum< TEnum > | ( |  | ) |

Get the value of the Enum type.

Returns
  The value of the parameter. If there is no parameter, it returns default(TEnum).

Type Constraints

  TEnum | : | struct |

int GetEnumInt | ( | int | defaultValue = `default(int)` | ) |

Get the value of the Enum type.

Parameters

  defaultValue | Default value. It is returned when there is no parameter.

Returns
  The value of the parameter. If there is no parameter, it returns defaultValue.

float GetFloat | ( | float | defaultValue = `default(float)` | ) |

Get the value of the Float type.

Parameters

  defaultValue | Default value. It is returned when there is no parameter.

Returns
  The value of the parameter. If there is no parameter, it returns defaultValue.

GameObject GetGameObject | ( | GameObject | defaultValue = `null` | ) |

Get the value of the GameObject type.

Parameters

  defaultValue | Default value. It is returned when there is no parameter.

Returns
  The value of the parameter. If there is no parameter, it returns defaultValue.

int GetInt | ( | int | defaultValue = `default(int)` | ) |

Get the value of the Int type.

Parameters

  defaultValue | Default value. It is returned when there is no parameter.

Returns
  The value of the parameter. If there is no parameter, it returns defaultValue.

long GetLong | ( | long | defaultValue = `default(long)` | ) |

Get the value of the Long type.

Parameters

  defaultValue | Default value. It is returned when there is no parameter.

Returns
  The value of the parameter. If there is no parameter, it returns defaultValue.

Quaternion GetQuaternion | ( | Quaternion | defaultValue | ) |

Get the value of the Quaternion type.

Parameters

  defaultValue | Default value. It is returned when there is no parameter.

Returns
  The value of the parameter. If there is no parameter, it returns defaultValue.

Quaternion GetQuaternion | ( |  | ) |

Get the value of the Quaternion type.

Returns
  The value of the parameter. If there is no parameter, it returns Quaternion.identity.

Rect GetRect | ( | Rect | defaultValue | ) |

Get the value of the Rect type.

Parameters

  defaultValue | Default value. It is returned when there is no parameter.

Returns
  The value of the parameter. If there is no parameter, it returns defaultValue.

Rect GetRect | ( |  | ) |

Get the value of the Rect type.

Returns
  The value of the parameter. If there is no parameter, it returns Rect(0, 0, 0, 0).

RectTransform GetRectTransform | ( | RectTransform | defaultValue = `null` | ) |

Get the value of the RectTransform type.

Parameters

  defaultValue | Default value. It is returned when there is no parameter.

Returns
  The value of the parameter. If there is no parameter, it returns defaultValue.

Rigidbody GetRigidbody | ( | Rigidbody | defaultValue = `null` | ) |

Get the value of the Rigidbody type.

Parameters

  defaultValue | Default value. It is returned when there is no parameter.

Returns
  The value of the parameter. If there is no parameter, it returns defaultValue.

Rigidbody2D GetRigidbody2D | ( | Rigidbody2D | defaultValue = `null` | ) |

Get the value of the Rigidbody2D type.

Parameters

  defaultValue | Default value. It is returned when there is no parameter.

Returns
  The value of the parameter. If there is no parameter, it returns defaultValue.

string GetString | ( | string | defaultValue = `""` | ) |

Get the value of the String type.

Parameters

  defaultValue | Default value. It is returned when there is no parameter.

Returns
  The value of the parameter. If there is no parameter, it returns defaultValue.

Transform GetTransform | ( | Transform | defaultValue = `null` | ) |

Get the value of the Transform type.

Parameters

  defaultValue | Default value. It is returned when there is no parameter.

Returns
  The value of the parameter. If there is no parameter, it returns defaultValue.

static System.Type GetValueType | ( | Parameter.Type | type,
|  | System.Type | referenceType = `null`
| ) |  |
| static

Get the value type of the parameter.

Parameters

  type | Type of parameter
  referenceType | Reference type (used for Enum, Component, Variable)

Returns
  Value type of the parameter

object GetVariable | ( | object | defaultValue = `null` | ) |

Get Variable value

Parameters

  defaultValue | Default value. Returned if acquisition failed.

Returns
  Value of Variable. If acquisition fails, it returns defaultValue.

TVariable GetVariable< TVariable > | ( | TVariable | defaultValue = `default(TVariable)` | ) |

Get Variable value

Template Parameters

  TVariable | Variable value type

Parameters

  defaultValue | Default value. Returned if acquisition failed.

Returns
  Value of Variable. If acquisition fails, it returns defaultValue.

bool GetVariable< TVariable > | ( | ref TVariable | value | ) |

Get Variable value

Template Parameters

  TVariable | Variable value type

Parameters

  value | Value

Returns
  Succeeds if true, failure if false

Vector2 GetVector2 | ( | Vector2 | defaultValue | ) |

Get the value of the Vector2 type.

Parameters

  defaultValue | Default value. It is returned when there is no parameter.

Returns
  The value of the parameter. If there is no parameter, it returns defaultValue.

Vector2 GetVector2 | ( |  | ) |

Get the value of the Vector2 type.

Returns
  The value of the parameter. If there is no parameter, it returns Vector2.zero.

Vector3 GetVector3 | ( | Vector3 | defaultValue | ) |

Get the value of the Vector3 type.

Parameters

  defaultValue | Default value. It is returned when there is no parameter.

Returns
  The value of the parameter. If there is no parameter, it returns defaultValue.

Vector3 GetVector3 | ( |  | ) |

Get the value of the Vector3 type.

Returns
  The value of the parameter. If there is no parameter, it returns Vector3.zero.

void OnChanged | ( |  | ) |

Call when you change the value.

bool SetBool | ( | bool | value | ) |

It wants to set the value of the Bool type.

Parameters

  value | Value.

Returns
  Return true if the value could be set.

bool SetBounds | ( | Bounds | value | ) |

It wants to set the value of the Bounds type.

Parameters

  value | Value.

Returns
  Return true if the value could be set.

bool SetColor | ( | Color | value | ) |

It wants to set the value of the Color type.

Parameters

  value | Value.

Returns
  Return true if the value could be set.

bool SetComponent | ( | Component | value | ) |

It wants to set the value of the Component type.

Parameters

  value | Value.

Returns
  Return true if the value could be set.

bool SetComponent< TComponent > | ( | TComponent | value | ) |

Set Component value

Parameters

  value | Value

Type Constraints

  TComponent | : | Component |

bool SetEnum | ( | System.Enum | value | ) |

It wants to set the value of the Enum type.

Parameters

  value | Value.

Returns
  Return true if the value could be set.

bool SetEnum< TEnum > | ( | TEnum | value | ) |

Set Enum value

Parameters

  value | Value

Returns
  Return true if the value could be set.

Type Constraints

  TEnum | : | struct |

bool SetEnumInt | ( | int | value | ) |

It wants to set the value of the Enum type.

Parameters

  value | Value.

Returns
  Return true if the value could be set.

bool SetFloat | ( | float | value | ) |

It wants to set the value of the Float type.

Parameters

  value | Value.

Returns
  Return true if the value could be set.

bool SetGameObject | ( | GameObject | value | ) |

It wants to set the value of the GameObject type.

Parameters

  value | Value.

Returns
  Return true if the value could be set.

bool SetInt | ( | int | value | ) |

It wants to set the value of the Int type.

Parameters

  value | Value.

Returns
  Return true if the value could be set.

bool SetLong | ( | long | value | ) |

It wants to set the value of the Long type.

Parameters

  value | Value.

Returns
  Return true if the value could be set.

bool SetQuaternion | ( | Quaternion | value | ) |

It wants to set the value of the Quaternion type.

Parameters

  value | Value.

Returns
  Return true if the value could be set.

bool SetRect | ( | Rect | value | ) |

It wants to set the value of the Rect type.

Parameters

  value | Value.

Returns
  Return true if the value could be set.

bool SetRectTransform | ( | RectTransform | value | ) |

It wants to set the value of the RectTransform type.

Parameters

  value | Value.

Returns
  Return true if the value could be set.

bool SetRigidbody | ( | Rigidbody | value | ) |

It wants to set the value of the Rigidbody type.

Parameters

  value | Value.

Returns
  Return true if the value could be set.

bool SetRigidbody2D | ( | Rigidbody2D | value | ) |

It wants to set the value of the Rigidbody2D type.

Parameters

  value | Value.

Returns
  Return true if the value could be set.

bool SetString | ( | string | value | ) |

It wants to set the value of the String type.

Parameters

  value | Value.

Returns
  Return true if the value could be set.

bool SetTransform | ( | Transform | value | ) |

It wants to set the value of the Transform type.

Parameters

  value | Value.

Returns
  Return true if the value could be set.

bool SetVariable | ( | object | value | ) |

Set Variable value

Parameters

  value | Value

bool SetVariable< TVariable > | ( | TVariable | value | ) |

Set Variable value

Template Parameters

  TVariable | Variable value type

Parameters

  value | Value

bool SetVector2 | ( | Vector2 | value | ) |

It wants to set the value of the Vector2 type.

Parameters

  value | Value.

Returns
  Return true if the value could be set.

bool SetVector3 | ( | Vector3 | value | ) |

It wants to set the value of the Vector3 type.

Parameters

  value | Value.

Returns
  Return true if the value could be set.

override string ToString | ( |  | ) |

Convert value to string format.

Returns
  Converted string

string ToString | ( | string | format | ) |

Convert value to string format.

Parameters

  format | Numeric format string (Int, Long, Float only)

Returns
  Converted string

For more information about numeric format specifiers, see Standard Numeric Format Strings and Custom Numeric Format Strings.

bool TryGetBool | ( | out bool | value | ) |

Get the value of the Bool type.

Parameters

  value | Value.

Returns
  Return true if the value can be obtained.

bool TryGetBounds | ( | out Bounds | value | ) |

Get the value of the Bounds type.

Parameters

  value | Value.

Returns
  Return true if the value can be obtained.

bool TryGetColor | ( | out Color | value | ) |

Get the value of the Color type.

Parameters

  value | Value.

Returns
  Return true if the value can be obtained.

bool TryGetComponent | ( | out Component | value | ) |

Get the value of the Component type.

Parameters

  value | Value.

Returns
  Return true if the value can be obtained.

bool TryGetComponent< TComponent > | ( | out TComponent | value | ) |

Get the value of the Component type.

Parameters

  value | The value you get.

Returns
  Returns true if it succeeds.

Type Constraints

  TComponent | : | Component |

bool TryGetEnum | ( | out System.Enum | value | ) |

Get the value of the Enum type.

Parameters

  value | The value you get.

Returns
  Return true if the value can be obtained.

bool TryGetEnum< TEnum > | ( | out TEnum | value | ) |

Get the value of the Enum type.

Parameters

  value | The value you get.

Returns
  Return true if the value can be obtained.

Type Constraints

  TEnum | : | struct |

bool TryGetEnumInt | ( | out int | value | ) |

Get the value of the Enum type.

Parameters

  value | The value you get.

Returns
  Return true if the value can be obtained.

bool TryGetFloat | ( | out float | value | ) |

Get the value of the Float type.

Parameters

  value | The value you get.

Returns
  Return true if the value can be obtained.

bool TryGetGameObject | ( | out GameObject | value | ) |

Get the value of the GameObject type.

Parameters

  value | Value.

Returns
  Return true if the value can be obtained.

bool TryGetInt | ( | out int | value | ) |

Get the value of the Int type.

Parameters

  value | Value.

Returns
  Return true if the value can be obtained.

bool TryGetLong | ( | out long | value | ) |

Get the value of the Long type.

Parameters

  value | Value.

Returns
  Return true if the value can be obtained.

bool TryGetQuaternion | ( | out Quaternion | value | ) |

Get the value of the Quaternion type.

Parameters

  value | Value.

Returns
  Return true if the value can be obtained.

bool TryGetRect | ( | out Rect | value | ) |

Get the value of the Rect type.

Parameters

  value | Value.

Returns
  Return true if the value can be obtained.

bool TryGetRectTransform | ( | out RectTransform | value | ) |

Get the value of the RectTransform type.

Parameters

  value | Value.

Returns
  Return true if the value can be obtained.

bool TryGetRigidbody | ( | out Rigidbody | value | ) |

Get the value of the Rigidbody type.

Parameters

  value | Value.

Returns
  Return true if the value can be obtained.

bool TryGetRigidbody2D | ( | out Rigidbody2D | value | ) |

Get the value of the Rigidbody2D type.

Parameters

  value | Value.

Returns
  Return true if the value can be obtained.

bool TryGetString | ( | out string | value | ) |

Get the value of the String type.

Parameters

  value | Value.

Returns
  Return true if the value can be obtained.

bool TryGetTransform | ( | out Transform | value | ) |

Get the value of the Transform type.

Parameters

  value | Value.

Returns
  Return true if the value can be obtained.

bool TryGetVariable | ( | out object | value | ) |

Get the value of the Variable type.

Parameters

  value | The value you get.

Returns
  Returns true if it succeeds.

bool TryGetVariable< TVariable > | ( | out TVariable | value | ) |

Get the value of the Variable type.

Template Parameters

  TVariable | Variable value type

Parameters

  value | The value you get.

Returns
  Returns true if it succeeds.

bool TryGetVector2 | ( | out Vector2 | value | ) |

Get the value of the Vector2 type.

Parameters

  value | Value.

Returns
  Return true if the value can be obtained.

bool TryGetVector3 | ( | out Vector3 | value | ) |

Get the value of the Vector3 type.

Parameters

  value | Value.

Returns
  Return true if the value can be obtained.

## Member Data Documentation

ParameterContainerInternal container

Container this parameter is stored.

int id

ID.

string name

Name.

ClassTypeReference referenceType = new ClassTypeReference()

the type of objectReferenceValue and Enum.

Type type

Type.

## Property Documentation

bool boolValue
| get set

Value of Bool type.

Bounds boundsValue
| get set

Value of Bounds type.

Color colorValue
| get set

Value of Color type.

ClassTypeReference componentType
| get set

Component type

Component componentValue
| get set

Value of Component type.

int enumIntValue
| get set

int Value of Enum type.

System.Enum enumValue
| get set

Value of Enum type.

float floatValue
| get set

Value of Float type.

GameObject gameObjectValue
| get set

Value of GameObject type.

int intValue
| get set

Value of Int type.

bool isEnum
| get

Returns whether this parameter is of type Enum.

bool isPublicGet
| get

Returns whether this parameter can be get from an external graph.

(For parameters in graph)

bool isPublicSet
| get

Returns whether this parameter can be set from an external graph.

(For parameters in graph)

long longValue
| get set

Value of Long type.

Object objectReferenceValue
| get set

Value of Object type.

Quaternion quaternionValue
| get set

Value of Quaternion type.

RectTransform rectTransformValue
| get set

Value of RectTransform type.

Rect rectValue
| get set

Value of Rect type.

Rigidbody2D rigidbody2DValue
| get set

Value of Rigidbody2D type.

Rigidbody rigidbodyValue
| get set

Value of Rigidbody type.

string stringValue
| get set

Value of String type.

Transform transformValue
| get set

Value of Transform type.

object value
| get set

Get values according to type.

System.Type valueType
| get

Get value type.

VariableBase variableObject
| get set

Object that contains Variable.

object variableValue
| get set

Value of Variable type.

Vector2 vector2Value
| get set

Value of Vector2 type.

Vector3 vector3Value
| get set

Value of Vector3 type.

## Event Documentation

DelegateOnChanged onChanged

Callback function to be called when the value is changed.