Пример #1
0
    //private static Dictionary<string,UI> _effectPool = new Dictionary<string,UI>();

    public static ResoureManager getIns()
    {
        if (_ins == null)
        {
            _ins = new ResoureManager();
        }
        return(_ins);
    }
Пример #2
0
    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
    }
Пример #3
0
 void Awake()
 {
     Instance = this;
 }