SetBehaviour
SetBehaviour(int, StateBehaviour)
Description
Set StateBehaviour.
Parameters
| Parameter Name | Description | 
|---|---|
| index | Index | 
| behaviour | StateBehaviour | 
Remarks
Note that the original StateBehaviour does not Destroy. If you want to add StateBehaviour, please use AddBehaviour. If you want to do Destroy please use DestroyBehaviour.