Automatically show the build version from Build Settings

I've found this, and has been proved really worth, all that I want is display a label on the menu on my games / apps, when you display the current version of your game, so you can debug things easily when you're trying to found / debug some bugs.

You will need to put this file, inside some Editor folder

What this will do is, as soon you open Unity, he will look for the Version from the Bundle Settings, and generate a new file for you, in this case one like these:
 

So whenever you want to display the current bundle version, just use simple as this:
 

And now you're ready to go :)

There is only a catch, this will be update when you open your unity, and ONLY when you open your Unity, so when you change the bundle version, you need to restart the unity so you get this new version.

Thread in Unity!

Just a quick update about something that I discovered this weekend

Thread Ninja - Multithread Coroutine

Basically what this do is, you can run a heavy task on another thread, this makes the task run keeping the FPS at some acceptable level while running your task, example:

   1:  for(int i = 0 ; i < int.MaxValue; i++)
   2:  {
   3:  }

This will lock your Unity until this finish, but if you make the same thing using the Tread Ninja. the Unity will keep running without problem or slowdown.

   1:  this.StartCoroutineAsync(IEnumeratorYourAsyncRoutine());
   2:   
   3:  IEnumeratorYourAsyncRoutine()
   4:  {
   5:      for(int i =0;i < int.MaxValue; i++)
   6:      {
   7:      }
   8:  }

This is awesome! One big problem using this, if that you can't move anything from Unity inside this coroutine, but if you want you can use this little help here:

   1:  yield return Ninja.JumpToUnity;

This can be a big saver for some things, and best of all, is FREE!

Few amazing unity tips / tricks

I see this post and reddit, and I'll keep and copy here, so I can update myself with my own tips! 

Original Post:

http://tequibo.com/unity3d-tips/

Showing private variables in inspector.

Showing private variables in inspector.

Adding multiple prefabs in component’s list in the editor. Note: will not maintain order of items

Adding multiple prefabs in component’s list in the editor. Note: will not maintain order of items

Removing empty entry from an array

Removing empty entry from an array

Making empty gameobject visible only in editor

Making empty gameobject visible only in editor

Dealing with parenting and scrolling

Dealing with parenting and scrolling

Showing gizmos, colliders and raycasts (with Debug.DrawRay) IN GAME WINDOW while in play mode, works for selected objects only

Showing gizmos, colliders and raycasts (with Debug.DrawRay) IN GAME WINDOW while in play mode, works for selected objects only