EnableMenu - InputEnableLayer
Member of: InputEnableLayer Script
Enables or disables the player's ability to use the menu on this layer.
SyntaxEdit
Function EnableMenu(abEnable = true) native
ParametersEdit
- abEnable: If true, enables menu access. Otherwise disables it.
- Default: True
Return ValueEdit
None.
ExamplesEdit
; Enable menu
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableMenu()
; Disable menu
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableMenu(false)