Difference between revisions of "GUIButton"
From Virtual World Web Wiki
(Documentation for the GUIButton class) |
(Documentation for the GUIButton class) |
||
Line 10: | Line 10: | ||
:: | :: | ||
::Reference to the icon Imagebox on the button | ::Reference to the icon Imagebox on the button | ||
+ | |||
+ | :{{CSharp|bool RaycastMask {get; set;} }} | ||
+ | :: | ||
+ | ::Whether this button should mask its hit area | ||
===Events=== | ===Events=== |
Revision as of 14:42, 20 April 2018
A component representing a clickable button
- Inherits class: GUISelectableComponent
- This is a JavaScript visible object
Remarks [edit]
Properties
- GUIImageBox Icon {get;}
- Reference to the icon Imagebox on the button
- bool RaycastMask {get; set;}
- Whether this button should mask its hit area
Events
- Click()
- Event fired when the user clicks the button
- RightClick()