Delete - InputEnableLayer
Jump to navigation
Jump to search
Member of: InputEnableLayer Script
Forcibly deletes this input enable layer immediately. Any script variables or properties looking at it will be invalidated, and of course any disables it may have held are cleared.
Syntax[edit | edit source]
Function Delete() native
Parameters[edit | edit source]
None.
Return Value[edit | edit source]
None
Examples[edit | edit source]
; Deletes the layer, and then clears the variable that held it
myLayer.Delete()
myLayer = None
Notes[edit | edit source]
- Layers will automatically delete themselves if all variables and properties pointing at them are cleared.
- Once deleted, you can't call any more functions on the layer as it will be gone (and an error will print to the log).