GetBehaviour

GetBehaviour(Type)

public StateBehaviour GetBehaviour(Type type) ;

Description

Gets the behaviour.

Parameters

Parameter Name Description
type Type of you want to get StateBehaviour.

Returns

Found StateBehaviour. Or null if it is not.

GetBehaviour<T>()

public T GetBehaviour<T>() ;

Description

Gets the behaviour.

Type Parameters

Type Parameter Name Description Type Constraints
T Type of you want to get StateBehaviour.

Returns

Found StateBehaviour. Or null if it is not.