EnableFavorites - InputEnableLayer
Revision as of 15:07, 18 October 2013 by imported>Plplecuyer (→Syntax)
Member of: InputEnableLayer Script
Enables or disables the player's ability to open the Favorites menu on this layer.
Syntax
Function EnableFavorites(bool abEnable = true) native
Parameters
- abEnable: If true, enables favorites. Otherwise disables it.
- Default: True
Return Value
None.
Examples
; Enable favorites
myLayer.EnableFavorites()
; Disable favorites
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableFavorites(false)