I just started to learn c# in unity. I followed a tutorial, but i wanna add some things.
using UnityEngine; using UnityEngine.UI; using System.Collections; pub
I can assume that it's a windows-forms application so that you're better not to use Thread.Sleep as it will block the UI thread.
Instead, use: System.Windows.Forms.Timer