Scripts for a game in Unity3d