/// <summary>
 /// Меню финиша игрока в гонке
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void HandleTrackFinish(object sender, EventArgs e)
 {
     trackFinishMenuModel           = UIFactory.CreateTrackFinishMenuModelView(canvas);
     trackFinishMenuModel.trackPath = checkpointsPath;
     objectsInGame.Add(trackFinishMenuModel.gameObject);
     CinemachineModelView.Instance.CountdownPause();
 }
 public static TrackFinishMenuModelView CreateTrackFinishMenuModelView(Canvas canvas)
 {
     GameObject trackFinishMenuPrefab = Resources.Load<GameObject>("Prefabs/UI/TrackFinishMenu");
     TrackFinishMenuModelView modelView = UnityEngine.Object.Instantiate(trackFinishMenuPrefab, canvas.transform)
         .GetComponent<TrackFinishMenuModelView>();
     return modelView;
 }