示例#1
0
 public void Load(string fileUrl, K entity, AsyncLoad <T> asyncLoad, OnLoadingListener loadingListener)
 {
     GameManager.Instance.StartCoroutine(LoadWithEnumerator(fileUrl, entity, asyncLoad, loadingListener));
 }
示例#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));
 }
示例#3
0
 public void Load(string fileUrl, K entity, OnLoadingListener loadingListener)
 {
     Load(fileUrl, entity, null, loadingListener);
 }