Пример #1
0
        protected AssetBundle LoadAssetBundle(string path)
        {
            if (MainLoop.getInstance().OpenABMode)
            {
#if UNITY_IOS || UNITY_IPHONE || UNITY_ANDROID
                AssetBundle ab = KAssetBundle.LoadFromFile(path);
                return(ab);
#else
                return(null);
#endif
            }
            else
            {
                return(null);
            }
        }