void OnTriggerEnter2D(Collider2D collision) { if (collision.tag == ETags.Player.ToString()) { print("player reached checkpoint"); GameEvents.CheckpointReached(FinalPosition); } }