NodeBehaviourのリスト
More...
NodeBehaviourのリスト
- Template Parameters
-
Behaviourを追加。
- Parameters
-
behaviour | 追加するNodeBehaviour |
bool Contains |
( |
T |
behaviour | ) |
|
behaviourを含んでいるかを返す。
- Parameters
-
- Returns
- 含んでいる場合にtrueを返す。
bool ContainsObject |
( |
Object |
obj | ) |
|
objを含んでいるかを返す。
- Parameters
-
- Returns
- 含んでいる場合にtrueを返す。
void Destroy |
( |
Node |
node, |
|
|
Object |
behaviour |
|
) |
| |
NodeBehaviourを破棄
- Parameters
-
node | NodeBehaviourを持っているNode |
behaviour | NodeBehaviourのObject |
void DestroyAll |
( |
Node |
node | ) |
|
全てのNodeBehaviourを破棄。
- Parameters
-
node | NodeBehaviourを持っているNode |
Object GetObject |
( |
int |
index | ) |
|
NodeBehaviourのObjectをindexから取得。
- Parameters
-
- Returns
- Object
void Insert |
( |
int |
index, |
|
|
T |
behaviour |
|
) |
| |
Behaviourを挿入。
- Parameters
-
index | 挿入先インデックス |
behaviour | 挿入するNodeBehaviour |
void Move |
( |
int |
fromIndex, |
|
|
int |
toIndex |
|
) |
| |
NodeBehaviourの順番を移動する。
- Parameters
-
fromIndex | 移動させたいインデックス。 |
toIndex | 移動先のインデックス。 |
void MoveBehaviour |
( |
Node |
node | ) |
|
NodeBehaviourをnodeに移動する。Editorでのみ有効。
- Parameters
-
void SetObject |
( |
int |
index, |
|
|
Object |
obj |
|
) |
| |
NodeBehaviourのObjectをindexへ設定。
- Parameters
-
void Swap |
( |
int |
fromIndex, |
|
|
int |
toIndex |
|
) |
| |
NodeBehaviourの順番を入れ替える。
- Parameters
-
fromIndex | 入れ替えたいインデックス。 |
toIndex | 入れ替え先インデックス。 |
Access to specified index
- Parameters
-
- Returns
- NodeBehaviour stored in the index