ToMillis() публичный статический Метод

public static ToMillis ( float v ) : string
v float
Результат string
Пример #1
0
 public static void EndTimerAdditive(string label, bool log)
 {
     Utility.additiveTimer += Time.realtimeSinceStartup - Utility.lastAdditiveTimerStart;
     if (log)
     {
         Debug.Log(label + ", process took " + Utility.ToMillis(Utility.additiveTimer) + "ms to complete");
     }
     Utility.lastAdditiveTimerStart = Time.realtimeSinceStartup;
 }
Пример #2
0
 public static void EndTimer(string label)
 {
     Debug.Log(label + ", process took " + Utility.ToMillis(Time.realtimeSinceStartup - Utility.lastStartTime) + "ms to complete");
 }