|
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? I don't want to take control of the GUIStyleState from unity, I just need to figure out which state Unity decided to use.
(comments are locked)
|
The question has been closed Jun 03 '12 at 01:49 PM by Mortoc for the following reason:
Duplicate Question
|
The choice of style state is handled internally, and there isn't an API to inspect it, unfortunately. @andeeee this is an exact duplicate: http://answers.unity3d.com/questions/5477/is-it-possible-to-detect-which-guistylestate-is-used by the same user... I still can't vote for closing questions and since you are an insider I guess this is the correct answer... :)
Mar 25 '10 at 10:17 AM
Lipis
(comments are locked)
|
