Trying to plan out some courswork that's entirely made of UI, no 3D shizzle going on. Im using unity to try and learn its GUI functionality in preperation for a project in a few months. I do realise its not ideal for this.
I need/want a button that i can left or right click on to increase or decrease a value and the issue is the right click since it only returns true/false.
I have read http://answers.unity3d.com/questions...gui-class.html
but thats 3 years old and one of the things they do is save the button as a variable for later reference. That is now impossible because GUI.Button is a function not a type.
The answer says to use a GUILayout but the overload they use on the .Button call don't exist anymore.
I have tried searching the unityGUI forums but it crashes everytime i hit search no matter what I search for. I even tried boobies.
So, im left with a question but no answer.
How, with Unity 4's GUI do I get a button that I can say if they right click button x do this if they left click button x do that?
Thank You All,
Hope there is a solution cause I got 3 courseworks to do and all are using unity and need UI.
P.S. Whats up with the forum search crashes?