GUIExtensions

From Unify Community Wiki
(Difference between revisions)
Jump to: navigation, search
m (Text replace - "</csharp>" to "</syntaxhighlight>")
m (Added some categories)
 
Line 10: Line 10:
  
 
[http://github.com/MrJoy/UnityGUIExtensions.Examples Example project (git repository)]
 
[http://github.com/MrJoy/UnityGUIExtensions.Examples Example project (git repository)]
 +
 +
[[Category:GUI]]
 +
[[Category:C Sharp]]
 +
[[Category:Scripts]]
 +
[[Category:Utility]]

Latest revision as of 00:31, 20 January 2013

This is a set of extensions for Unity 2.6+ that expand upon the GUI, GUILayout, EditorGUI, and EditorGUILayout. These include:

Automatically select all text when a textarea gets focus:

s = GUILayoutExt.AutoSelectTextArea("myWidgetName", s);

(All signatures for GUI.TextArea, GUILayout.TextArea, EditorGUI.TextArea, and EditorGUILayout.TextArea work, with the addition of a unique "widget name" parameter.)

Download .unitypackage files

The source (git repository)

Example project (git repository)

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox