NodeBehaviour list
More...
NodeBehaviour list
- Template Parameters
-
Adds the Behaviour.
- Parameters
-
| bool Contains |
( |
T |
behaviour | ) |
|
Returns whether it contains behaviour.
- Parameters
-
- Returns
- Returns true if it contains.
| bool ContainsObject |
( |
Object |
obj | ) |
|
Returns whether it contains obj.
- Parameters
-
- Returns
- Returns true if it contains.
| void Destroy |
( |
Node |
node, |
|
|
Object |
behaviour |
|
) |
| |
| void DestroyAll |
( |
Node |
node | ) |
|
| Object GetObject |
( |
int |
index | ) |
|
| int IndexOf |
( |
Object |
obj | ) |
|
Return index of NodeBehaviour.
- Parameters
-
- Returns
- Returns an index if found, -1 otherwise.
| void Insert |
( |
int |
index, |
|
|
T |
behaviour |
|
) |
| |
Insert the Behaviour.
- Parameters
-
| void Move |
( |
int |
fromIndex, |
|
|
int |
toIndex |
|
) |
| |
Move the order of NodeBehaviour.
- Parameters
-
| fromIndex | The moving want index. |
| toIndex | The destination index. |
| void MoveBehaviour |
( |
Node |
node | ) |
|
Move NodeBehaviour to node.
Valid only in Editor.
- Parameters
-
| node | Moving destination node |
| void SetObject |
( |
int |
index, |
|
|
Object |
obj |
|
) |
| |
| void Swap |
( |
int |
fromIndex, |
|
|
int |
toIndex |
|
) |
| |
Swap the order of NodeBehaviour.
- Parameters
-
| fromIndex | The swapping want index. |
| toIndex | Exchange destination index. |
Access to specified index
- Parameters
-
- Returns
- NodeBehaviour stored in the index