Browsing all 5 posts in Tips and Tricks.

1

Search Engines and JavaScript Links

Part of the confusion surrounding a lot of SEO concepts, is not necessarily misinformation, just old information. And old information can lead to a lot of myths. There are a ton of SEO experts spouting off about how search engines can’t index Flash content, then you’ve got the more serious Flash SEO crowd actually testing [...]

0

Avoiding Loose Typing Dangers

Sometimes I like terse code. if( state ){} is clear. However this syntax can cause a lot of grief in loose typed languages, and while you can avoid some cases by typing vars, you can still get yourself into trouble (as a note: I find strict mode a pain in ActionScript). if( GetState() ){} may [...]

0

Flipping Meshes Inside Unity

Another developer Shane at Cogmation showed me this today, and it’s worth mentioning as it may come in handy, if at a cost. To flip an imported 3D mesh along any axis, just change the scale to a negative value.
Sometimes it’s the simplest things that make you slap your forehead.
I realize all the 3D people [...]

2

Undocumented Unity Function

So, you’ll find the childCount property documented, but what you won’t find in the documentation is GetChild(). According to the forums, the reason it’s been left out is because of unpredictability – the array of children is not guaranteed to be in a consistent order. However, that’s not to say that it can’t still [...]

0

Fun with Exposed Variables in Unity

At first I wasn’t thrilled about public variables being exposed in Unity’s editor – it seemed to be a bit dangerous, burying variable within GUI elements. Reminded me too much of hunting through Flash MovieClips for code snippets. And if you’re not careful, you will get burned. For example, public int exposedInt = 100; at [...]