Exemplo n.º 1
0
 public void Load(string fileUrl, K entity, AsyncLoad <T> asyncLoad, OnLoadingListener loadingListener)
 {
     GameManager.Instance.StartCoroutine(LoadWithEnumerator(fileUrl, entity, asyncLoad, loadingListener));
 }
Exemplo n.º 2
0
 public virtual IEnumerator LoadWithEnumerator(string fileUrl, K entity, AsyncLoad <T> asyncLoad, OnLoadingListener loadingListener)
 {
     this.loadingListener = loadingListener;
     loadingListener?.Start();
     yield return(LoadWithEnumerator(fileUrl, entity, asyncLoad));
 }
Exemplo n.º 3
0
 public void Load(string fileUrl, K entity, OnLoadingListener loadingListener)
 {
     Load(fileUrl, entity, null, loadingListener);
 }