Пример #1
0
    public void SetRecordText()
    {
        float record = results.GetResult(sceneIndex);

        if (record == 0)
        {
            recordText.text = "N/P";
        }
        else
        {
            recordText.text = Timer.FormatTime(record);
        }
    }
Пример #2
0
 public float GetResult(int buildIndex)
 {
     return(results.GetResult(buildIndex));
 }