IndexOfBehaviour

IndexOfBehaviour(Object)

public int IndexOfBehaviour(Object behaviourObj) ;

Description

Return index of StateBehaviour.

Parameters

Parameter Name Description
behaviourObj The StateBehaviour to locate in the State.

Returns

Returns an index if found, -1 otherwise.