private void Start() { tracksManager = GameManager.ActiveGameManager.TracksManager; currentTrack = tracksManager.GetMyTrack(transform.position, out currentTrackPointIndex); //transform.position = currentTrack.GetPoint(currentTrackPointIndex, out isLastPoint); UpdatePoints(); }