Difference between revisions of "GUIButton"
From Virtual World Web Wiki
(Documentation for the GUIButton class) |
(Documentation for the GUIButton class) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
===Properties=== | ===Properties=== | ||
+ | :{{CSharp|bool Enabled {get; set;} }} | ||
+ | |||
:{{CSharp|GUIImageBox Icon {get;} }} | :{{CSharp|GUIImageBox Icon {get;} }} | ||
:: | :: | ||
::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=== |
Latest revision as of 17:18, 19 November 2018
A component representing a clickable button
- Inherits class: GUISelectableComponent
- This is a JavaScript visible object
Remarks [edit]
Properties
- bool Enabled {get; set;}
- 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()