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;
     }
 }