GUILayout.Buttonstatic function Button (image : Texture, params options : GUILayoutOption[]) : booleanstatic function Button (text : String, params options : GUILayoutOption[]) : booleanstatic function Button (content : GUIContent, params options : GUILayoutOption[]) : booleanstatic function Button (image : Texture, style : GUIStyle, params options : GUILayoutOption[]) : booleanstatic function Button (text : String, style : GUIStyle, params options : GUILayoutOption[]) : booleanstatic function Button (content : GUIContent, style : GUIStyle, params options : GUILayoutOption[]) : booleanParameters
Returnsboolean - /true/ when the users clicks the button DescriptionMake a single press button. The user clicks them and something happens immediately.
JavaScript
// Draws a button with an image and a button with text using UnityEngine; import UnityEngine
|

