top of page
ProMenuMachineScriptableObject
This ScriptableObject allows you to define menu states, so that you can easily switch between them.
Events
CurrentStateChanged
Called whenever the menu state is changed.
Properties
CurrentState
The current menu state.
Methods
SetCurrentState
Sets the menu state.
AddState
Adds a state to the list of possible states.
RemoveState
Removes a state.
ChangeStateName
Changes the name of a 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