My generic code snippets for Unity3D