first version, up to date with Unity v4.5.2