InsertBehaviour

InsertBehaviour(int, StateBehaviour)

public void InsertBehaviour(int index, StateBehaviour behaviour) ;

Description

Insert the behaviour.

Parameters

Parameter Name Description
index Insertion destination index
behaviour Insert StateBehaviour

InsertBehaviour(int, Type)

public StateBehaviour InsertBehaviour(int index, Type type) ;

Description

Insert the behaviour.

Parameters

Parameter Name Description
index Insertion destination index
type Type of add StateBehaviour

Returns

Inserted StateBehaviour

InsertBehaviour<T>(int)

public T InsertBehaviour<T>(int index) ;

Description

Adds the behaviour.

Type Parameters

Type Parameter Name Description Type Constraints
T Type of insert StateBehaviour

Parameters

Parameter Name Description
index Insertion destination index

Returns

Inserted StateBehaviour