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