//private static Dictionary<string,UI> _effectPool = new Dictionary<string,UI>(); public static ResoureManager getIns() { if (_ins == null) { _ins = new ResoureManager(); } return(_ins); }
private IEnumerator LoadNextScene() { yield return(new WaitForEndOfFrame()); ResoureManager.getIns().Dispose(); async = SceneManager.LoadSceneAsync("Login"); async.allowSceneActivation = false; #if HOT BundleManager.getIns().SetLoadList(loadList); Debug.Log("LoadList=>" + loadList.Count); BundleManager.getIns().StartLoadBundle(); yield return(async); #endif }
void Awake() { Instance = this; }