private IEnumerator ShowProgressView(AfterShowProgressView callback) { progressView.SetActive(true); progressPanel.depth = SHOW_DEPTH; tipLabel.text = Localization.Localize(tips[Random.Range(0, tips.Length)]); yield return(new WaitForSeconds(0.5f)); if (callback != null) { callback(); } }
public static void ShowLoadProgress(AfterShowProgressView callback) { lvc.StartCoroutine(lvc.ShowProgressView(callback)); }