Notes – Unity Study

This notes is to record some unity skills or problems those I meet in developing games or apps.

  1. Time String Format – Minutes:Seconds >> var someString = String.Format(“{0:0}:{1:00}”, Mathf.Floor(yourTime/60), yourTime % 60);
  2. Number String Format –  var num : float = 1000000.35;  >>> Debug.Log(num.ToString("n2"));

Leave a Reply

Your email address will not be published. Required fields are marked *