Arbor 3: FSM & BT Graph Editor
3.6.4
|
ParameterContainerに格納されるParameterのクラス。 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 } |
パラメータの型。 More... | |
Public Member Functions | |
delegate void | DelegateOnChanged (Parameter parameter) |
パラメータを変更した時に呼ばれるデリゲート。 More... | |
void | OnChanged () |
値を変更した際に呼び出す。 More... | |
bool | SetFloat (float value) |
Float型の値を設定する。 More... | |
bool | TryGetFloat (out float value) |
Float型の値を取得する。 More... | |
float | GetFloat (float defaultValue=default(float)) |
Float型の値を取得する。 More... | |
bool | SetInt (int value) |
Int型の値を設定する。 More... | |
bool | TryGetInt (out int value) |
Int型の値を取得する。 More... | |
int | GetInt (int defaultValue=default(int)) |
Int型の値を取得する。 More... | |
bool | SetLong (long value) |
Long型の値を設定する。 More... | |
bool | TryGetLong (out long value) |
Long型の値を取得する。 More... | |
long | GetLong (long defaultValue=default(long)) |
Long型の値を取得する。 More... | |
bool | SetBool (bool value) |
Bool型の値を設定する。 More... | |
bool | TryGetBool (out bool value) |
Bool型の値を取得する。 More... | |
bool | GetBool (bool defaultValue=default(bool)) |
Bool型の値を取得する。 More... | |
bool | SetString (string value) |
String型の値を設定する。 More... | |
bool | TryGetString (out string value) |
String型の値を取得する。 More... | |
string | GetString (string defaultValue="") |
String型の値を取得する。 More... | |
bool | SetEnumInt (int value) |
Enum型の値を設定する。 More... | |
bool | TryGetEnumInt (out int value) |
Enum型の値を取得する。 More... | |
int | GetEnumInt (int defaultValue=default(int)) |
Enum型の値を取得する。 More... | |
bool | SetEnum (System.Enum value) |
Enum型の値を設定する。 More... | |
bool | TryGetEnum (out System.Enum value) |
Enum型の値を取得する。 More... | |
System.Enum | GetEnum (System.Enum defaultValue=null) |
Enum型の値を取得する。 More... | |
bool | SetEnum< TEnum > (TEnum value) |
Enumの値を設定 More... | |
bool | TryGetEnum< TEnum > (out TEnum value) |
Enum型の値を取得する。 More... | |
TEnum | GetEnum< TEnum > (TEnum defaultValue) |
Enum型の値を取得する。 More... | |
TEnum | GetEnum< TEnum > () |
Enum型の値を取得する。 More... | |
bool | SetVector2 (Vector2 value) |
Vector2型の値を設定する。 More... | |
bool | TryGetVector2 (out Vector2 value) |
Vector2型の値を取得する。 More... | |
Vector2 | GetVector2 (Vector2 defaultValue) |
Vector2型の値を取得する。 More... | |
Vector2 | GetVector2 () |
Vector2型の値を取得する。 More... | |
bool | SetVector3 (Vector3 value) |
Vector3型の値を設定する。 More... | |
bool | TryGetVector3 (out Vector3 value) |
Vector3型の値を取得する。 More... | |
Vector3 | GetVector3 (Vector3 defaultValue) |
Vector3型の値を取得する。 More... | |
Vector3 | GetVector3 () |
Vector3型の値を取得する。 More... | |
bool | SetQuaternion (Quaternion value) |
Quaternion型の値を設定する。 More... | |
bool | TryGetQuaternion (out Quaternion value) |
Quaternion型の値を取得する。 More... | |
Quaternion | GetQuaternion (Quaternion defaultValue) |
Quaternion型の値を取得する。 More... | |
Quaternion | GetQuaternion () |
Quaternion型の値を取得する。 More... | |
bool | SetRect (Rect value) |
Rect型の値を設定する。 More... | |
bool | TryGetRect (out Rect value) |
Rect型の値を取得する。 More... | |
Rect | GetRect (Rect defaultValue) |
Rect型の値を取得する。 More... | |
Rect | GetRect () |
Rect型の値を取得する。 More... | |
bool | SetBounds (Bounds value) |
Bounds型の値を設定する。 More... | |
bool | TryGetBounds (out Bounds value) |
Bounds型の値を取得する。 More... | |
Bounds | GetBounds (Bounds defaultValue) |
Bounds型の値を取得する。 More... | |
Bounds | GetBounds () |
Bounds型の値を取得する。 More... | |
bool | SetColor (Color value) |
Color型の値を設定する。 More... | |
bool | TryGetColor (out Color value) |
Color型の値を取得する。 More... | |
Color | GetColor (Color defaultValue) |
Color型の値を取得する。 More... | |
Color | GetColor () |
Color型の値を取得する。 More... | |
bool | SetGameObject (GameObject value) |
GameObject型の値を設定する。 More... | |
bool | TryGetGameObject (out GameObject value) |
GameObject型の値を取得する。 More... | |
GameObject | GetGameObject (GameObject defaultValue=null) |
GameObject型の値を取得する。 More... | |
bool | SetTransform (Transform value) |
Transform型の値を設定する。 More... | |
bool | TryGetTransform (out Transform value) |
Transform型の値を取得する。 More... | |
Transform | GetTransform (Transform defaultValue=null) |
Transform型の値を取得する。 More... | |
bool | SetRectTransform (RectTransform value) |
RectTransform型の値を設定する。 More... | |
bool | TryGetRectTransform (out RectTransform value) |
RectTransform型の値を取得する。 More... | |
RectTransform | GetRectTransform (RectTransform defaultValue=null) |
RectTransform型の値を取得する。 More... | |
bool | SetRigidbody (Rigidbody value) |
Rigidbody型の値を設定する。 More... | |
bool | TryGetRigidbody (out Rigidbody value) |
Rigidbody型の値を取得する。 More... | |
Rigidbody | GetRigidbody (Rigidbody defaultValue=null) |
Rigidbody型の値を取得する。 More... | |
bool | SetRigidbody2D (Rigidbody2D value) |
Rigidbody2D型の値を設定する。 More... | |
bool | TryGetRigidbody2D (out Rigidbody2D value) |
Rigidbody2D型の値を取得する。 More... | |
Rigidbody2D | GetRigidbody2D (Rigidbody2D defaultValue=null) |
Rigidbody2D型の値を取得する。 More... | |
bool | SetComponent (Component value) |
Component型の値を設定する。 More... | |
bool | TryGetComponent (out Component value) |
Component型の値を取得する。 More... | |
Component | GetComponent (Component defaultValue=null) |
Component型の値を取得する。 More... | |
bool | SetComponent< TComponent > (TComponent value) |
Componentの値を設定 More... | |
bool | TryGetComponent< TComponent > (out TComponent value) |
Component型の値を取得する。 More... | |
TComponent | GetComponent< TComponent > (TComponent defaultValue=null) |
Component型の値を取得する。 More... | |
bool | SetVariable (object value) |
Variableの値を設定 More... | |
bool | TryGetVariable (out object value) |
Variable型の値を取得する。 More... | |
object | GetVariable (object defaultValue=null) |
Variableの値を取得 More... | |
bool | SetVariable< TVariable > (TVariable value) |
Variableの値を設定 More... | |
bool | TryGetVariable< TVariable > (out TVariable value) |
Variable型の値を取得する。 More... | |
TVariable | GetVariable< TVariable > (TVariable defaultValue=default(TVariable)) |
Variableの値を取得 More... | |
bool | GetVariable< TVariable > (ref TVariable value) |
Variableの値を取得 More... | |
override string | ToString () |
値を文字列形式に変換する。 More... | |
string | ToString (string format) |
値を文字列形式に変換する。 More... | |
Static Public Member Functions | |
static System.Type | GetValueType (Parameter.Type type, System.Type referenceType=null) |
パラメータの値の型を取得する。 More... | |
Public Attributes | |
ParameterContainerInternal | container |
このパラメータが格納されているコンテナ。 More... | |
int | id |
ID。 More... | |
Type | type |
パラメータの型。 More... | |
string | name |
パラメータの名前。 More... | |
ClassTypeReference | referenceType = new ClassTypeReference() |
objectReferenceValueやEnumの型。 More... | |
Properties | |
ClassTypeReference | componentType [get, set] |
コンポーネントの型 More... | |
bool | isPublicSet [get] |
このパラメータが外部グラフから設定可能かどうかを返す。(グラフ内パラメータ用) More... | |
bool | isPublicGet [get] |
このパラメータが外部グラフから取得可能かどうかを返す。(グラフ内パラメータ用) More... | |
int | intValue [get, set] |
Int型の値。 More... | |
long | longValue [get, set] |
Long型の値。 More... | |
float | floatValue [get, set] |
Float型の値。 More... | |
bool | boolValue [get, set] |
Bool型の値。 More... | |
string | stringValue [get, set] |
String型の値。 More... | |
bool | isEnum [get] |
このパラメータがEnum型であるかどうかを返す。 More... | |
int | enumIntValue [get, set] |
Enum型のint値。 More... | |
System.Enum | enumValue [get, set] |
Enum型の値。 More... | |
Vector2 | vector2Value [get, set] |
Vector2型の値。 More... | |
Vector3 | vector3Value [get, set] |
Vector3型の値。 More... | |
Quaternion | quaternionValue [get, set] |
Quaternion型の値。 More... | |
Rect | rectValue [get, set] |
Rect型の値。 More... | |
Bounds | boundsValue [get, set] |
Bounds型の値。 More... | |
Color | colorValue [get, set] |
Color型の値。 More... | |
Object | objectReferenceValue [get, set] |
Object型の値。 More... | |
GameObject | gameObjectValue [get, set] |
GameObject型の値。 More... | |
Component | componentValue [get, set] |
Component型の値。 More... | |
Transform | transformValue [get, set] |
Transform型の値。 More... | |
RectTransform | rectTransformValue [get, set] |
RectTransform型の値。 More... | |
Rigidbody | rigidbodyValue [get, set] |
Rigidbody型の値。 More... | |
Rigidbody2D | rigidbody2DValue [get, set] |
Rigidbody2D型の値。 More... | |
VariableBase | variableObject [get, set] |
Variableを格納しているオブジェクト。 More... | |
object | variableValue [get, set] |
Variable型の値。 More... | |
System.Type | valueType [get] |
値の型を取得する。 More... | |
object | value [get, set] |
タイプに応じた値を取得する。 More... | |
Events | |
DelegateOnChanged | onChanged |
値が変更された際に呼び出されるコールバック関数。 More... | |
ParameterContainerに格納されるParameterのクラス。
|
strong |
パラメータの型。
delegate void DelegateOnChanged | ( | Parameter | parameter | ) |
パラメータを変更した時に呼ばれるデリゲート。
parameter | パラメータ |
bool GetBool | ( | bool | defaultValue = default(bool) | ) |
Bool型の値を取得する。
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
Bounds GetBounds | ( | Bounds | defaultValue | ) |
Bounds型の値を取得する。
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
Bounds GetBounds | ( | ) |
Bounds型の値を取得する。
Color GetColor | ( | Color | defaultValue | ) |
Color型の値を取得する。
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
Color GetColor | ( | ) |
Color型の値を取得する。
Component GetComponent | ( | Component | defaultValue = null | ) |
Component型の値を取得する。
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
TComponent GetComponent< TComponent > | ( | TComponent | defaultValue = null | ) |
Component型の値を取得する。
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
TComponent | : | Component |
System.Enum GetEnum | ( | System.Enum | defaultValue = null | ) |
Enum型の値を取得する。
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
TEnum GetEnum< TEnum > | ( | TEnum | defaultValue | ) |
Enum型の値を取得する。
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
TEnum | : | struct |
TEnum GetEnum< TEnum > | ( | ) |
Enum型の値を取得する。
TEnum | : | struct |
int GetEnumInt | ( | int | defaultValue = default(int) | ) |
Enum型の値を取得する。
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
float GetFloat | ( | float | defaultValue = default(float) | ) |
Float型の値を取得する。
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
GameObject GetGameObject | ( | GameObject | defaultValue = null | ) |
GameObject型の値を取得する。
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
int GetInt | ( | int | defaultValue = default(int) | ) |
Int型の値を取得する。
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
long GetLong | ( | long | defaultValue = default(long) | ) |
Long型の値を取得する。
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
Quaternion GetQuaternion | ( | Quaternion | defaultValue | ) |
Quaternion型の値を取得する。
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
Quaternion GetQuaternion | ( | ) |
Quaternion型の値を取得する。
Rect GetRect | ( | Rect | defaultValue | ) |
Rect型の値を取得する。
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
Rect GetRect | ( | ) |
Rect型の値を取得する。
RectTransform GetRectTransform | ( | RectTransform | defaultValue = null | ) |
RectTransform型の値を取得する。
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
Rigidbody GetRigidbody | ( | Rigidbody | defaultValue = null | ) |
Rigidbody型の値を取得する。
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
Rigidbody2D GetRigidbody2D | ( | Rigidbody2D | defaultValue = null | ) |
Rigidbody2D型の値を取得する。
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
string GetString | ( | string | defaultValue = "" | ) |
String型の値を取得する。
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
Transform GetTransform | ( | Transform | defaultValue = null | ) |
Transform型の値を取得する。
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
|
static |
パラメータの値の型を取得する。
type | パラメータのタイプ |
referenceType | 参照する型(Enum, Component, Variableで使用) |
object GetVariable | ( | object | defaultValue = null | ) |
Variableの値を取得
defaultValue | デフォルトの値。取得に失敗した場合に返される。 |
TVariable GetVariable< TVariable > | ( | TVariable | defaultValue = default(TVariable) | ) |
Variableの値を取得
TVariable | Variableの値の型 |
defaultValue | デフォルトの値。取得に失敗した場合に返される。 |
bool GetVariable< TVariable > | ( | ref TVariable | value | ) |
Variableの値を取得
TVariable | Variableの値の型 |
value | 値 |
Vector2 GetVector2 | ( | Vector2 | defaultValue | ) |
Vector2型の値を取得する。
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
Vector2 GetVector2 | ( | ) |
Vector2型の値を取得する。
Vector3 GetVector3 | ( | Vector3 | defaultValue | ) |
Vector3型の値を取得する。
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
Vector3 GetVector3 | ( | ) |
Vector3型の値を取得する。
void OnChanged | ( | ) |
値を変更した際に呼び出す。
bool SetBool | ( | bool | value | ) |
Bool型の値を設定する。
value | 値。 |
bool SetBounds | ( | Bounds | value | ) |
Bounds型の値を設定する。
value | 値。 |
bool SetColor | ( | Color | value | ) |
Color型の値を設定する。
value | 値。 |
bool SetComponent | ( | Component | value | ) |
Component型の値を設定する。
value | 値。 |
bool SetComponent< TComponent > | ( | TComponent | value | ) |
Componentの値を設定
value | 値 |
TComponent | : | Component |
bool SetEnum | ( | System.Enum | value | ) |
Enum型の値を設定する。
value | 値。 |
bool SetEnum< TEnum > | ( | TEnum | value | ) |
Enumの値を設定
value | 値 |
TEnum | : | struct |
bool SetEnumInt | ( | int | value | ) |
Enum型の値を設定する。
value | 値。 |
bool SetFloat | ( | float | value | ) |
Float型の値を設定する。
value | 値。 |
bool SetGameObject | ( | GameObject | value | ) |
GameObject型の値を設定する。
value | 値。 |
bool SetInt | ( | int | value | ) |
Int型の値を設定する。
value | 値。 |
bool SetLong | ( | long | value | ) |
Long型の値を設定する。
value | 値。 |
bool SetQuaternion | ( | Quaternion | value | ) |
Quaternion型の値を設定する。
value | 値。 |
bool SetRect | ( | Rect | value | ) |
Rect型の値を設定する。
value | 値。 |
bool SetRectTransform | ( | RectTransform | value | ) |
RectTransform型の値を設定する。
value | 値。 |
bool SetRigidbody | ( | Rigidbody | value | ) |
Rigidbody型の値を設定する。
value | 値。 |
bool SetRigidbody2D | ( | Rigidbody2D | value | ) |
Rigidbody2D型の値を設定する。
value | 値。 |
bool SetString | ( | string | value | ) |
String型の値を設定する。
value | 値。 |
bool SetTransform | ( | Transform | value | ) |
Transform型の値を設定する。
value | 値。 |
bool SetVariable | ( | object | value | ) |
Variableの値を設定
value | 値 |
bool SetVariable< TVariable > | ( | TVariable | value | ) |
Variableの値を設定
TVariable | Variableの値の型 |
value | 値 |
bool SetVector2 | ( | Vector2 | value | ) |
Vector2型の値を設定する。
value | 値。 |
bool SetVector3 | ( | Vector3 | value | ) |
Vector3型の値を設定する。
value | 値。 |
override string ToString | ( | ) |
値を文字列形式に変換する。
string ToString | ( | string | format | ) |
値を文字列形式に変換する。
format | 数値書式指定フォーマット(Int,Long,Floatのみ) |
数値書式指定フォーマットの詳細については、次を参照してください。標準の数値書式指定文字列、カスタム数値書式指定文字列
bool TryGetBool | ( | out bool | value | ) |
Bool型の値を取得する。
value | 取得する値。 |
bool TryGetBounds | ( | out Bounds | value | ) |
Bounds型の値を取得する。
value | 取得する値。 |
bool TryGetColor | ( | out Color | value | ) |
Color型の値を取得する。
value | 取得する値。 |
bool TryGetComponent | ( | out Component | value | ) |
Component型の値を取得する。
value | 取得する値。 |
bool TryGetComponent< TComponent > | ( | out TComponent | value | ) |
Component型の値を取得する。
value | 取得する値。 |
TComponent | : | Component |
bool TryGetEnum | ( | out System.Enum | value | ) |
Enum型の値を取得する。
value | 取得する値。 |
bool TryGetEnum< TEnum > | ( | out TEnum | value | ) |
Enum型の値を取得する。
value | 取得する値。 |
TEnum | : | struct |
bool TryGetEnumInt | ( | out int | value | ) |
Enum型の値を取得する。
value | 取得する値。 |
bool TryGetFloat | ( | out float | value | ) |
Float型の値を取得する。
value | 取得する値。 |
bool TryGetGameObject | ( | out GameObject | value | ) |
GameObject型の値を取得する。
value | 取得する値。 |
bool TryGetInt | ( | out int | value | ) |
Int型の値を取得する。
value | 取得する値。 |
bool TryGetLong | ( | out long | value | ) |
Long型の値を取得する。
value | 取得する値。 |
bool TryGetQuaternion | ( | out Quaternion | value | ) |
Quaternion型の値を取得する。
value | 取得する値。 |
bool TryGetRect | ( | out Rect | value | ) |
Rect型の値を取得する。
value | 取得する値。 |
bool TryGetRectTransform | ( | out RectTransform | value | ) |
RectTransform型の値を取得する。
value | 取得する値。 |
bool TryGetRigidbody | ( | out Rigidbody | value | ) |
Rigidbody型の値を取得する。
value | 取得する値。 |
bool TryGetRigidbody2D | ( | out Rigidbody2D | value | ) |
Rigidbody2D型の値を取得する。
value | 取得する値。 |
bool TryGetString | ( | out string | value | ) |
String型の値を取得する。
value | 取得する値。 |
bool TryGetTransform | ( | out Transform | value | ) |
Transform型の値を取得する。
value | 取得する値。 |
bool TryGetVariable | ( | out object | value | ) |
Variable型の値を取得する。
value | 取得する値。 |
bool TryGetVariable< TVariable > | ( | out TVariable | value | ) |
Variable型の値を取得する。
TVariable | Variableの値の型 |
value | 取得する値。 |
bool TryGetVector2 | ( | out Vector2 | value | ) |
Vector2型の値を取得する。
value | 取得する値。 |
bool TryGetVector3 | ( | out Vector3 | value | ) |
Vector3型の値を取得する。
value | 取得する値。 |
ParameterContainerInternal container |
このパラメータが格納されているコンテナ。
int id |
ID。
string name |
パラメータの名前。
ClassTypeReference referenceType = new ClassTypeReference() |
objectReferenceValueやEnumの型。
Type type |
パラメータの型。
|
getset |
Bool型の値。
|
getset |
Bounds型の値。
|
getset |
Color型の値。
|
getset |
コンポーネントの型
|
getset |
Component型の値。
|
getset |
Enum型のint値。
|
getset |
Enum型の値。
|
getset |
Float型の値。
|
getset |
GameObject型の値。
|
getset |
Int型の値。
|
get |
このパラメータがEnum型であるかどうかを返す。
|
get |
このパラメータが外部グラフから取得可能かどうかを返す。(グラフ内パラメータ用)
|
get |
このパラメータが外部グラフから設定可能かどうかを返す。(グラフ内パラメータ用)
|
getset |
Long型の値。
|
getset |
Object型の値。
|
getset |
Quaternion型の値。
|
getset |
RectTransform型の値。
|
getset |
Rect型の値。
|
getset |
Rigidbody2D型の値。
|
getset |
Rigidbody型の値。
|
getset |
String型の値。
|
getset |
Transform型の値。
|
getset |
タイプに応じた値を取得する。
|
get |
値の型を取得する。
|
getset |
Variableを格納しているオブジェクト。
|
getset |
Variable型の値。
|
getset |
Vector2型の値。
|
getset |
Vector3型の値。
DelegateOnChanged onChanged |
値が変更された際に呼び出されるコールバック関数。