NodeBehaviourのリスト
More...
NodeBehaviourのリスト
- Template Parameters
-
◆ Add()
Behaviourを追加。
- Parameters
-
behaviour | 追加するNodeBehaviour |
◆ Contains()
bool Contains |
( |
T |
behaviour | ) |
|
behaviourを含んでいるかを返す。
- Parameters
-
- Returns
- 含んでいる場合にtrueを返す。
◆ ContainsObject()
bool ContainsObject |
( |
Object |
obj | ) |
|
objを含んでいるかを返す。
- Parameters
-
- Returns
- 含んでいる場合にtrueを返す。
◆ Destroy() [1/2]
void Destroy |
( |
Node |
node, |
|
|
Object |
behaviour |
|
) |
| |
NodeBehaviourを破棄
- Parameters
-
node | NodeBehaviourを持っているNode |
behaviour | NodeBehaviourのObject |
◆ Destroy() [2/2]
void Destroy |
( |
Node |
node, |
|
|
int |
behaviourIndex |
|
) |
| |
NodeBehaviourを破棄
- Parameters
-
node | NodeBehaviourを持っているNode |
behaviourIndex | 破棄するインデックス |
◆ DestroyAll()
void DestroyAll |
( |
Node |
node | ) |
|
全てのNodeBehaviourを破棄。
- Parameters
-
node | NodeBehaviourを持っているNode |
◆ GetObject()
Object GetObject |
( |
int |
index | ) |
|
NodeBehaviourのObjectをindexから取得。
- Parameters
-
- Returns
- Object
◆ IndexOf()
int IndexOf |
( |
Object |
obj | ) |
|
NodeBehaviourのインデックスを返す。
- Parameters
-
- Returns
- 見つかった場合はインデックス、ない場合は-1を返す。
◆ Insert()
void Insert |
( |
int |
index, |
|
|
T |
behaviour |
|
) |
| |
Behaviourを挿入。
- Parameters
-
index | 挿入先インデックス |
behaviour | 挿入するNodeBehaviour |
◆ Move()
void Move |
( |
int |
fromIndex, |
|
|
int |
toIndex |
|
) |
| |
NodeBehaviourの順番を移動する。
- Parameters
-
fromIndex | 移動させたいインデックス。 |
toIndex | 移動先のインデックス。 |
◆ MoveBehaviour()
void MoveBehaviour |
( |
Node |
node | ) |
|
NodeBehaviourをnodeに移動する。Editorでのみ有効。
- Parameters
-
◆ SetObject()
void SetObject |
( |
int |
index, |
|
|
Object |
obj |
|
) |
| |
NodeBehaviourのObjectをindexへ設定。
- Parameters
-
◆ Swap()
void Swap |
( |
int |
fromIndex, |
|
|
int |
toIndex |
|
) |
| |
NodeBehaviourの順番を入れ替える。
- Parameters
-
fromIndex | 入れ替えたいインデックス。 |
toIndex | 入れ替え先インデックス。 |
◆ count
◆ this[int i]
指定したインデックスへのアクセス
- Parameters
-
- Returns
- インデックスに格納されているNodeBehaviour