Simple checkpoint system implemented in Unity3D using C#