Unity3D Code Snippet: Getting the original size of a Texture2D
I was looking for a way to get the original width and height of a Texture2D in Unity (i.e. the size of the texture before it was potentially scaled up or down to power-of-two dimensions). By itself,...
View ArticleSettling into Unity3D: MonoDevelop Tips and Tricks
When I learn a new platform that comes with a new IDE, new paradigms, a new API and a new programming language, the IDE is usually last on my list. Months after our first Unity project, I still knew...
View ArticleMonoDevelop Cheatsheet
I’ve compiled a little cheatsheet containing most of the info from yesterday’s post on MonoDevelop tips and tricks. I’d still recommend reading the original article once, as it contains more detailed...
View ArticleUnity quick tip: Change the template for new classes.
After you’ve developed in Unity for a while, you’ll be well aware that MonoBehaviour’s Start() will be used for initialization and Update() will be called once per frame. I found that I started erasing...
View ArticleUnity/MonoDevelop Add-In: Duplicate selected lines with a keystroke.
This is one of those things that you don’t know you need until you have it, and the one feature I’ve missed the most since my Eclipse/FlashBuilder days: I wrote a little MonoDevelop Add-In that lets...
View ArticleUnity/MonoDevelop Quicktip: Dealing with the mouse cursor glitch
In MonoDevelop on Mac, I’ve noticed that the mouse cursor sometimes changes from the arrow to something else, like a vertical line, a different arrow, or similar. This seemingly happens at random, and...
View ArticleControlling a 3D LED Matrix with Unity
This isn’t much of a how-to. I don’t know much about LED cubes, so I can’t offer help with whatever technology you may be working on. It’s more of an outline of the steps I took to get Unity to work...
View Article