I couldn’t sleep, so instead I decided to work on my programming skills. More specifically, I learned how to make Graphical User Interfaces (GUIs) in Unity. I always had a really difficult time with GUIs in Torque Game Builder/Engine (TGB is now called Torque 2D and TGE has since been replaced with the much more advanced Torque 3D) so I was worried that it would be very hard to figure out.
I followed the Unity GUI Scripting Guide and just made a stupid test scene with a bunch of GUI elements on screen. It’s surprisingly easy to get basic a GUI in place, though I’m sure it will take quite a bit of work when I start to get into reskinning the elements.
So after learning the basics of how to do it, I wasn’t really sure what to do since I didn’t have any real use for a GUI at the time. Then while I was working on improving my isometric camera script I decided to add a GUI to my Isometric Camera Demo that allows you to modify the camera settings in real-time to see how they work.
And there you have it. Progress!
EDIT: 2013-08-29 I’ve added a UnityPackage (created in Unity 3.5.7) with the scripts used in this demo. Download the demo/source here.
I was wondering is your giving the source code to this demo out? It would be much appreciated! I can also see a lot of people wanting a tutorial for how you did the camera in this demo.
@Kyle: It’s been two years since I made this demo. And I didn’t really know what I was doing at the time, seeing as I was pretty new to Unity and scripting in UnityScript.
Fortunately I still have the project, and it’s even been modified somewhat, including converting the scripts over to C#.
I’ll amend the post to include a link to a UnityPackage file that will allow you to download the demo and see how it works.
@Deozaan: Thank you very much!! This helped a lot, was the exact functionality I was looking for!