void HandleRunEvent(RunPhase phase, float time)
 {
     if (phase == RunPhase.Start)
     {
         startTime = time;
     }
     else if (phase == RunPhase.Goal)
     {
         endTime = time;
         float runTime = endTime - startTime;
         if (GeneralManager.HasRunRecord())
         {
             uiRecords.ShowRunnerResult(runTime, GeneralManager.GetRunTimeRecord());
         }
         else
         {
             uiRecords.ShowRunnerResult(runTime);
         }
         if (GeneralManager.IsPersonalRunRecord(runTime))
         {
             GeneralManager.SetRunRecord(runTime);
         }
         GeneralManager.RecentRunTime = runTime;
     }
 }
    private void Update()
    {
        if (currentStartTime > 0 && currentGoalTime == 0 && GeneralManager.HasRunRecord())
        {
            SetShadowPosition();
        }
        else
        {
        }

        if (Input.GetKeyDown(KeyCode.R))
        {
            SceneManager.LoadScene("Scenes/1k");
        }
    }