Now that you've got some hands on the screen, let's give those hands something to manipulate; to me, buttons would seem to be the next logical step. Don't you agree?
Get ready to write lots of code (six files, to be exact), because touchable buttons are no laughing matter in a 3D toolkit (well, they aren't so bad, but still). Head on over to the
Scripts folder and double-click on the
BaseSingleton.cs file; this should open up MonoDevelop if it wasn't already open to begin with.
Our first class, as the name suggests, is a custom implementation of the singleton pattern. What's a singleton, you ask? Read on!
In every program—and consequently, every game—you need ...