AddBehaviour

public StateBehaviour AddBehaviour(Type type) ;

Adds the behaviour.

Parameter Name Description
type Type of add StateBehaviour

Added StateBehaviour

public T AddBehaviour<T>() ;

Adds the behaviour.

Type Parameter Name Description Type Constraints
T Type of add StateBehaviour

Added StateBehaviour