Ejemplo n.º 1
0
    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();
        }
    }
Ejemplo n.º 2
0
 public static void ShowLoadProgress(AfterShowProgressView callback)
 {
     lvc.StartCoroutine(lvc.ShowProgressView(callback));
 }