Filter
Content Type
43,287 results for "GUI"
Showing one version of each versioned product. Show all versions
ModalWindow • GUI • 7000.0 • Unity Editor
Documentationpublic static Rect ModalWindow(int id, Rect clientRect, GUI.WindowFunction func, string text) ... Similar to GUI.Window, however the window will always be on top of all other GUI, and while ...
BeginGroup • GUI • 7000.0 • Unity Editor
DocumentationThis is very useful when moving a bunch of GUI elements around on screen. ... GUI.BeginGroup(new Rect(Screen.width / 2 - 400, Screen.height / 2 - 300, 800, 600)); // Draw a box in the new ...
GetNameOfFocusedControl() • GUI • 7000.0 • Unity Editor
Documentation... login2 = "no action here"; void OnGUI() { GUI.SetNextControlName("user"); login = GUI.TextField(new Rect(10, 10, 130, 20), login); login2 = GUI.TextField(new Rect(10, 40, 130, 20), login2); ...
contentColor • GUI • 7000.0 • Unity Editor
DocumentationRemarks This gets multiplied by GUI.color. Yellow content color (font) in a button. ... : MonoBehaviour{ void OnGUI() { GUI.contentColor = Color.yellow; GUI.Button(new Rect(10, 10, 70, 30), " ...
backgroundColor • GUI • 7000.0 • Unity Editor
DocumentationGlobal tinting color for all background elements rendered by the GUI. ... Last updated a month ago ... Remarks This gets multiplied by GUI.color. Yellow Background color applied to a button.
Label • GUI • 7000.0 • Unity Editor
DocumentationIf you want to make a control that responds visually to user input, use a GUI.Box control. ... Collections;public class ExampleClass : MonoBehaviour{ void OnGUI() { GUI.Label(new Rect(10, 10, ...
GUI • TextureImporterType • 7000.0 • Unity Editor
DocumentationGUI Use this if your texture is going to be used on any HUD/GUI Controls. ... Last updated a month ago ... Assembly: UnityEditor.CoreModule GUI = 2 Report a problem with this page Feedback
GUI.WindowFunction • GUI • 7000.0 • Unity Editor
DocumentationGUI.WindowFunction Callback to draw GUI within a window (used with GUI.Window ). ... Remarks ... Its body should contain GUI calls to display the window, much like a standard OnGUI function.
BringWindowToBack(int) • GUI • 7000.0 • Unity Editor
DocumentationThe identifier used when you created the window in the GUI.Window call. ... (new Rect(10, 20, 100, 20), "Put Back")) GUI.BringWindowToBack(1); GUI.DragWindow(new Rect(0, 0, 10000, 20)); }}
GUI.ScrollViewScope • GUI • 7000.0 • Unity Editor
DocumentationGUI.ScrollViewScope Disposable helper class for managing GUI.BeginScrollView / GUI.EndScrollView. ... GUI.BeginScrollView is called at construction, and GUI.EndScrollView is called when the ...
GUI.GroupScope • GUI • 7000.0 • Unity Editor
DocumentationGUI.GroupScope Disposable helper class for managing GUI.BeginGroup / GUI.EndGroup. ... GUI.Box(new Rect(0, 0, 800, 600), "This box is now centered! - here you would put your main menu"); } // ...
FocusWindow(int) • GUI • 7000.0 • Unity Editor
DocumentationThe identifier used when you created the window in the GUI.Window call. ... DoMySecondWindow(int windowID) { if (GUI.Button(new Rect(10, 20, 100, 20), "Focus other")) GUI.FocusWindow(0); }}
Results per page