Tagged Questions

0
votes
1answer
26 views

How can I set up a series of OnGUI Toggle buttons in a for loop?

I loop through all the children components inside a GO. go = GameObject.Find(target.gameObject.name); comps = go.GetComponentsInChildren(Transform); for (var comp : Transform in …
1
vote
1answer
12 views

Is it possible to detect which GUIStyleState is used?

Say I'm drawing a GUI.Button. Is it possible to tell if that Button will use the normal, hover, or any other GUIStyleState from the GUIStyle I give it?
1
vote
1answer
43 views

How to toggle the color of a button?

Hello, I wonder if it is possible to make a button toggle its color. Any ideas how to do it? Thank you in advance.
0
votes
1answer
23 views

Can I change GUIButton behaviour?

Is there a way to change a GUIButton behaviour? I need it to be activated/pressed if I click outside the button, drag it in its area and then release like any other buttons you fin …
1
vote
2answers
31 views

UTF-8 Support in Unity iPhone 1.6?

I am trying to write some equations that using some special characters, such as naught (ₒ) or squared (²). I am using Javascript and authoring in TextMate. File encoding in TextM …
1
vote
3answers
44 views

How can i control a GUI Texture?

How can i control a GUI Texture Position? There should always be in the upper left corner, no matter what size has the browser window. thanks
0
votes
1answer
46 views

Use a key to open a GUI?

I'm trying to implement a feature that would allow me to press a key and bring up a GUI. For example, I press Esc, and it brings up a GUI button that allows me to quit the game. T …
1
vote
1answer
57 views

Best way to draw an ECG trace.

Ok my desired effect is as thus: http://www.youtube.com/watch?v=7N4viIanngg&feature=fvw as I am sure you have seen on ER and suchlike. Looking at this as a 2d depiction I am u …
0
votes
1answer
57 views

How to apply multiple styles to the same line(s) of GUI text

I'd like to have a set of lines of GUI text with multiple styles in it. So long as I use only a single line of text, I can use Horizontal areas and GUILayout.Label to do coloring, …
0
votes
1answer
53 views

webcam input as gui texture?

I wrote a plugin, that allows me to capture frames from my webcam. I want to display those in my GUI. I managed to create a texture and show it on a plane. When I use the same text …
0
votes
1answer
32 views

move a gui element relative to a 3d objects position?

So I want to make a monster healthbar thats displayed on the gui move when the monster on the screen moves. how can i turn the 3d point into a 2d point on the GUI?
0
votes
1answer
14 views

Space between buttons in GUI.SelectionGrid

How can i reduce or increase space between buttons in GUI.SelectionGrid? Anyone know? Thanks.
0
votes
3answers
164 views

How to make a Main Menu GUI

How do you make a Main Menu for a FPS using the GUI to select other options like a level and other settings, and what is the script for you to do that?
0
votes
0answers
25 views

avoid multiple focus on overlapping buttons

How can i avoid multiple focus on overlapping buttons? Is it possible? Here my example: the scene contains a SelectionGrid with a large number of elements and these elements excee …
1
vote
3answers
59 views

Something like GUI.Table or a Grid?

I'd like to draw a html like table with table head cells and table data cells. And maybe a hover effect on table rows would be nice. I'd also like to place a button in a table data …

1 2 3 4 5 8 next
15 30 50 per page