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