Category Archives: Unity

Unity Development

Scrolling Areas in New Unity GUI

I spent a lot of time yesterday trying to get a scrolling area of indeterminate-size text working on my GUI - searches come up with several solutions, none of which worked, mostly because they always involve at some point adding a ContentSizeFitter … Continue reading

Posted in Unity | Tagged , , , , | Leave a comment

Free Visual Studio Tools for Unity

It's about two months now since I became aware that Unity code can be edited using Visual Studio. I remember what a relief it was to be able to rely on intellisense to remember the myriads of different member and … Continue reading

Posted in Unity | Leave a comment

Angles Without Trigonometry

I've mentioned before about it being a good idea to avoid using trigonometric functions in games.  There's an interesting article here about some of the reasons for avoiding it with reference to 3D geometry, but since I'm making 2D games … Continue reading

Posted in Unity | Tagged , , , , , | Leave a comment

2D LookAt Function

I've noticed a few complaints in Unity forums that the 2D engine in Unity doesn't have its own LookAt function.  If you just use Transform.LookAt() in the usual way, an object seems to disappear.  It's Z-axis turns to face the … Continue reading

Posted in Unity | Tagged , , , , , | Leave a comment