Пример #1
0
        private void LoadWindowSync(Action loadedHandle = null)
        {
            IResourcesManager tmpResMgr = GameModuleManager.GetModule <IResourcesManager>();

            tmpResMgr.LoadBundleByType(EABType.UI, BundleName);

            GameObject tmpGo = Hotfix.Instantiate(tmpResMgr.GetAssetByType <GameObject>(EABType.UI, BundleName));

            InitWindow(tmpGo);
            loadedHandle?.Invoke();
        }