Пример #1
0
        public void LoadPrefab(string bundleName, Action <GameObject, string> callback)
        {
            var finish = new ObjLoadFinish();

            finish.AddName(bundleName);
            finish.AddCallbak <GameObject, string>(callback);
            LoadAsync(bundleName, finish);
        }
Пример #2
0
        public void LoadPrefab(string name, string suffix, Action <GameObject, string> callback)
        {
            var finish = new ObjLoadFinish();

            finish.AddName(name);
            finish.AddCallbak <GameObject, string>(callback);
            LoadAsync(name, suffix, finish);
        }