A 2D sample by Unity3D.