Search results

Jump to: navigation, search
  • This script uses a GUITexture and Unity mouse events to implement a regular push button that behaves prop Attach this script to a GUITexture object. Add a ''ButtonPressed'' function to the object pointed to by the ''
    8 KB (829 words) - 20:52, 10 January 2012
  • ...Text] or [http://www.otee.dk/Documentation/ScriptReference/GUITexture.html GUITexture] object by scaling it horizontally to fit the proportions. Place this script on a GameObject with a GUIText and/or GUITexture component. Then scale the object to the correct screen size in a Game View
    2 KB (298 words) - 20:57, 10 January 2012
  • When the texture script is attached to a GUITexture, the approach we're taking on our current project, you can get the movie to } else if (GetComponent(typeof(GUITexture))) {
    6 KB (764 words) - 15:39, 25 February 2013
  • This script uses a GuiTexture and Unity mouse events to implement a regular toggle button that behaves pr Attach this script to a GuiTexture object. Add a ''ButtonPressed'' function to the object pointed to by the ''
    2 KB (264 words) - 20:47, 10 January 2012
  • n.AddComponent("GUITexture"); sens.AddComponent("GUITexture");
    7 KB (767 words) - 20:52, 10 January 2012
  • ...Text] or [http://www.otee.dk/Documentation/ScriptReference/GUITexture.html GUITexture] object by scaling it horizontally to fit the proportions. Place this script on a GameObject with a GUIText and/or GUITexture component. Sacle the object to the correct height in Game View. The width
    2 KB (257 words) - 20:52, 10 January 2012
  • ...Text] or [http://www.otee.dk/Documentation/ScriptReference/GUITexture.html GUITexture] object when pressing a button. Place this script on a GameObject with a GUIText and/or GUITexture component. Choose the appropriate fade in speed and button name.
    2 KB (247 words) - 20:52, 10 January 2012
  • *[[NudgeGUIElements]] - Menu items to nudge the pixelInset of a GUITexture or pixelOffset of a GUIText by 1 pixel or 10 pixels. This is useful for po
    4 KB (623 words) - 22:54, 31 January 2014
  • Add this script to any GameObject with a GUITexture or GUIText element. Set the border property to be the minimum and maximum ...f your dialog box that you want to be draggable. A good choice would be a GUITexture that represents the title bar of the window. On each of these GUITextures
    3 KB (304 words) - 20:45, 10 January 2012
  • Assign this script to an object with a Collider, GUITexture, or GUIText. Then set the target property to the GameObject you want the m
    1 KB (122 words) - 20:45, 10 January 2012
  • ...eed a second [http://otee.dk/Documentation/ScriptReference/GUITexture.html GUITexture] that is the slider bar. Set the min, max and current values for the slide ...ning the two [http://otee.dk/Documentation/ScriptReference/GUITexture.html GUITexture]s, they both must have the same transform, as the pixel insets for the slid
    5 KB (610 words) - 20:52, 10 January 2012
  • [[Category: GUITexture]] This script provides menu items to nudge the pixelInset of a GUITexture and the pixelOffset of a GUIText by 1 pixel or 10 pixels. This is useful fo
    3 KB (321 words) - 20:45, 10 January 2012
  • ...is code to the Unity Object you want to use as a button, I've been using a GUITexture.
    4 KB (562 words) - 20:52, 10 January 2012
  • ''ContextHelpText'' = The GUITexture that is used for popup help (on mouse over) ''LinkToGUITextGameObject'' = The GUIText object that this GUITexture is linked to (used for textbox graphics that sit behind a GUIText)
    17 KB (1,845 words) - 20:45, 10 January 2012
  • Apply this script to a GUITexture and it will replace the cursor with your own texture.
    532 B (69 words) - 10:40, 10 December 2012
  • A helper function to convert a GUITexture position to the equivalent Rect. '''position''' - the guiTexture's transform.position x and y components as a Vector2.
    1 KB (170 words) - 20:52, 10 January 2012
  • A helper function to convert a GUITexture position to the equivalent Rect. '''position''' - the guiTexture's transform.position x and y components as a Vector2.
    1 KB (170 words) - 20:52, 10 January 2012
  • ...scales a [http://www.otee.dk/Documentation/ScriptReference/GUITexture.html GUITexture] depending on the screen size / resolution. This allows the interface to be ...o 0 or 1 (or 0.5 for centered) and then adjust the Pixel inset to move the GUITexture.
    2 KB (262 words) - 20:52, 10 January 2012
  • [[Category: GUITexture]] Attach it to a GUITexture, feed it a bunch of materials and it will cycle through them. I don't recom
    1 KB (191 words) - 20:47, 10 January 2012
  • if(guiTexture != null) tweenAlpha.startValue = guiTexture.color.a;
    33 KB (4,475 words) - 13:28, 31 March 2015

View (previous 20 | next 20) (20 | 50 | 100 | 250 | 500)

Personal tools
Namespaces

Variants
Views
Actions
Navigation
Extras
Toolbox