Extends: ESCBaseCommand < Resource
show_menu menu_type
Shows either the main menu or the pause menu. Transitions to the menu using the default transition type (set in the Escoria project settings).
Parameters
- menu_type: Which menu to show. Can be either
main
orpause
(default:main
)
@ESC
func configure() -> ESCCommandArgumentDescriptor
Return the descriptor of the arguments of this command
func validate(arguments: Array)
Validate whether the given arguments match the command descriptor
func run(command_params: Array) -> var
Run the command
func interrupt()
Function called when the command is interrupted.