EnableActivate - InputEnableLayer
Revision as of 23:12, 14 July 2020 by imported>Docclox (→Examples: Fixed careless error, the function in the example should obviously be "EnableActivate" not "EnableActivation".)
Member of: InputEnableLayer Script
Enables or disables the player's ability to activate items on this layer.
SyntaxEdit
Function EnableActivate(abEnable = true) native
ParametersEdit
- abEnable: If true, enables activation. Otherwise disables it.
- Default: True
Return ValueEdit
None.
ExamplesEdit
; Enable activation
myLayer.EnableActivate()
; Disable activation
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableActive(false)