Difference between revisions of "GUIButton"

From Virtual World Web Wiki
Jump to: navigation, search
(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

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()