Random snippets for c# and unity3d