Hi,
I may have a good technical background but I’m new to scripting in general, so please be patient with me.
- So For my first question, its quite simple, yet I can’t find an answer to it. How do I convert the “style” gui variables and gui methods from javascript to c#? for example, I want to change these lines of code to c#:
var shellTL : GUIStyle;
GUI.Box (Rect (0,0,300,350), "This is a box", shellTL);
- My second question involves changing the order of which GUI elements are placed on the screen. It seems to me that GUI elements are arranged based on the order of the lines of code, for example, if I have two GUI boxes on top of each other, the one on the top would be the one that is following the first one in the script. So the one coming second in the script always overlays the first one. My question is, is there a way to change that system of order so that I can specify which one would go on top and which one would go on the bottom? (similar to z-index in css)
Any help would be appretiated Thanks in advance