EnableMenu - InputEnableLayer
Revision as of 07:39, 31 August 2016 by imported>Docclox (→Examples: fixed careless errors)
Member of: InputEnableLayer Script
Enables or disables the player's ability to use the menu on this layer.
Syntax
Function EnableMenu(abEnable = true) native
Parameters
- abEnable: If true, enables menu access. Otherwise disables it.
- Default: True
Return Value
None.
Examples
; Enable menu
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableMenu()
; Disable menu
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableMenu(false)