Archive | Software Development RSS feed for this section

Faking Namespaces in Unity

Fake it until you make it. Or until somebody else makes it. — Alfred Mirek

Recently the devilishly handsome Nick Breslin asked about an alternative to namespaces in Unity. Namespaces are a familiar concept to C# programmers that solve the problem of naming collisions, but Unity has yet to support them. The documentation promises that this limitation “will be removed in a future version,” but don’t hold your breath. You need to breathe. (more…)

Leave a Comment

Unity Cutscene Editor Initial Release

I’m going to remake The Godfather… in 3D! — Zhang Rou

Today I’m releasing the cutscene editor I worked on as part of Unity’s Summer of Code last year. (more…)

Leave a Comment

Dashing Coroutines for an Improved Coding Experience

I’ve had enough of your mumbo jumbo. Unless your mumbo jumbo encompasses coroutines. Those I dig. — Kaj Gottlob

After my last two borderline useless posts, perhaps today’s code snippet will be more valuable. I’m optimistic.

In the dimeRocker Unity client, of which I’m a developer, coroutines are used to send information to and from the servers. Conveniently, coroutines can execute in parallel with your own code or they can be called from another coroutine in order to wait for their completion. Such functionality is useful in Unity for a number of purposes, and seasoned developers will certainly be familiar with them. (more…)

Leave a Comment

Summer of Code: Progress Report on Unity3D Blog

I am overjoyed at your ability to use hyperlinks. — D.B. Cooper

Recently a somewhat detailed progress report about my Cutscene Editor was posted on the Unity3D blog. Rather than copying and pasting the post here, I reckon I’ll link to the article instead. Enjoy!

Leave a Comment

Event.Use() and Scroll Views

A scroll view that tries to reveal its content, how utterly pointless. — Matthew Miner

Today’s Unity discovery: calling Event.Use() every time the OnGUI() function runs will cause scroll views to not work. At least, they won’t respect any dimensions you set and will simply stretch to accommodate the elements contained within it. “A scroll view that tries to reveal its content, how utterly pointless.” Those were my exact words. (more…)

Leave a Comment