top of page

ProMenuMachineMonoBehaviour

This MonoBehaviour is a proxy for an assigned ProMenuMachineScriptableObject.

Events

CurrentStateChanged

Called whenever the menu state is changed.

Fields

menuMachine

The menu machine applied to this MonoBehaviour.

Properties

CurrentState

The current menu state.

Methods

AddState

Adds a state to the list of possible states.

ChangeStateName

Changes the name of a state.

RemoveState

Removes a state.

SetCurrentState

Sets the menu state.

StateCount

Returns the current number of menu states.

ReturnStateAtIndex

Returns the name of a state at the given index.

ReturnAllStates

Returns the names of all menu states.

ClearCurrentStateChangedEvent

Clears the state changed event.

bottom of page