RemoveBehaviourAt
public void RemoveBehaviourAt(int behaviourIndex) ;
I want to remove the StateBehaviour. For instance is not deleted, that you use the StateBehaviour.Destroy().
Parameter Name | Description |
---|---|
behaviourIndex | Index of StateBehaviour to remove. |