Esempio n. 1
0
        public static void UpdateDumpProgressText(float detected, float done)
        {
            if (done < detected - 1)
            {
                DumpingUpdatePanel.SetActive(true, true);
            }
            else
            {
                DumpingUpdatePanel.SetActive(false, true);
            }
            var text = DumpingUpdatePanel.GetText("SpriteDumpText");

            text.UpdateText($"Dumping Sprites \n {(100f * done/detected).ToString("0.0")}%");
        }