AddBehaviour

AddBehaviour(Type)

public StateBehaviour AddBehaviour(Type type) ;

Description

Adds the behaviour.

Parameters

Parameter Name Description
type Type of add StateBehaviour

Returns

Added StateBehaviour

AddBehaviour<T>()

public T AddBehaviour<T>() ;

Description

Adds the behaviour.

Type Parameters

Type Parameter Name Description Type Constraints
T Type of add StateBehaviour

Returns

Added StateBehaviour