// Load AssetBundleManifest.
        static public AssetBundleManifestOperation Initialize(string manifestAssetBundleName)
        {
            LoadAssetBundle(manifestAssetBundleName, true);
            var operation = new AssetBundleManifestOperation(manifestAssetBundleName, "AssetBundleManifest", typeof(AssetBundleManifest));

            m_InProgressOperations.Add(operation);
            return(operation);
        }
Beispiel #2
0
    static int Initialize(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        string arg0 = LuaScriptMgr.GetLuaString(L, 1);

        SimpleFramework.Manager.AssetBundleManifestOperation o = SimpleFramework.Manager.ResourceManager.Initialize(arg0);
        LuaScriptMgr.Push(L, o);
        return(1);
    }