HideMenuCommand

Extends: ESCBaseCommand < Resource

Description

hide_menu menu_type

Hides either the main menu or the pause menu. Transitions from the menu using the default transition type (set in the Escoria project settings).

Parameters

  • menu_type: Which menu to hide. Can be either main or pause (default: main)

@ESC

Method Descriptions

configure

func configure() -> ESCCommandArgumentDescriptor

Return the descriptor of the arguments of this command

validate

func validate(arguments: Array)

Validate whether the given arguments match the command descriptor

run

func run(command_params: Array) -> var

Run the command

interrupt

func interrupt()

Function called when the command is interrupted.