private void Run(Handler handler)
        {
            currentProgress += 1;

            hud.SetProgress(currentProgress);

            if (currentProgress == 80)
            {
                hud.SetLabel("Almost finish...");
            }

            if (currentProgress < 100)
            {
                handler.PostDelayed(() => Run(handler), 10);
            }
        }
Example #2
0
 public void SetProgress(uint value)
 {
     _progress.SetProgress((int)value);
 }