ToMillis() public static method

public static ToMillis ( float v ) : string
v float
return string
Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public static void EndTimer(string label)
 {
     Debug.Log(label + ", process took " + Utility.ToMillis(Time.realtimeSinceStartup - Utility.lastStartTime) + "ms to complete");
 }