浏览代码

Fix for incorrect placing markers on post game stats

/deferred-renderer
André McGrail 5 年前
当前提交
86ac1a08
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Assets/Scripts/UI/RaceStatsPlayer.cs

2
Assets/Scripts/UI/RaceStatsPlayer.cs


public void UpdateStats()
{
_place = _boat.Place;
transform.SetSiblingIndex(_place);
transform.SetSiblingIndex(_place + 1);
place.text = RaceUI.OrdinalNumber(_boat.Place);
var bestLapTime = RaceUI.BestLapFromSplitTimes(_boat.SplitTimes);

正在加载...
取消
保存