GetVector2
GetVector2(string, Vector2)
public Vector2 GetVector2(string name, Vector2 defaultValue) ;
説明
Vector2型の値を取得する。
パラメーター
パラメーター名 | 説明 |
---|---|
name | 名前。 |
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
戻り値
パラメータの値。パラメータがない場合はdefaultValueを返す。
GetVector2(string)
public Vector2 GetVector2(string name) ;
説明
Vector2型の値を取得する。
パラメーター
パラメーター名 | 説明 |
---|---|
name | 名前。 |
戻り値
パラメータの値。パラメータがない場合はVector2.zeroを返す。
GetVector2(int, Vector2)
public Vector2 GetVector2(int id, Vector2 defaultValue) ;
説明
Vector2型の値を取得する。
パラメーター
パラメーター名 | 説明 |
---|---|
id | ID。 |
defaultValue | デフォルトの値。パラメータがない場合に返される。 |
戻り値
パラメータの値。パラメータがない場合はdefaultValueを返す。
GetVector2(int)
public Vector2 GetVector2(int id) ;
説明
Vector2型の値を取得する。
パラメーター
パラメーター名 | 説明 |
---|---|
id | ID。 |
戻り値
パラメータの値。パラメータがない場合はVector2.zeroを返す。
GetVector2(string, out Vector2)
Obsolete public bool GetVector2(string name, out Vector2 value) ;
説明
Vector2型の値を取得する。
パラメーター
パラメーター名 | 説明 |
---|---|
name | 名前。 |
value | 取得する値。 |
戻り値
指定した名前のパラメータがあった場合にtrue。
GetVector2(int, out Vector2)
Obsolete public bool GetVector2(int id, out Vector2 value) ;
説明
Vector2型の値を取得する。
パラメーター
パラメーター名 | 説明 |
---|---|
id | ID。 |
value | 取得する値。 |
戻り値
指定した名前のパラメータがあった場合にtrue。