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