コード例 #1
0
ファイル: ResoureManager.cs プロジェクト: LiZhengyan/liemo5
    //private static Dictionary<string,UI> _effectPool = new Dictionary<string,UI>();

    public static ResoureManager getIns()
    {
        if (_ins == null)
        {
            _ins = new ResoureManager();
        }
        return(_ins);
    }
コード例 #2
0
ファイル: Intro.cs プロジェクト: LiZhengyan/liemo5
    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;
 }