Initialize() static public method

static public Initialize ( string manifestAssetBundleName ) : AssetBundleManifestOperation
manifestAssetBundleName string
return AssetBundleManifestOperation
Esempio n. 1
0
 static int Initialize(IntPtr L)
 {
     LuaScriptMgr.CheckArgsCount(L, 1);
     SimpleFramework.Manager.ResourceManager obj = (SimpleFramework.Manager.ResourceManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "SimpleFramework.Manager.ResourceManager");
     obj.Initialize();
     return(0);
 }
        IEnumerator Initialize()
        {
            ResourceManager.BaseDownloadingURL = Util.GetRelativePath();

            // Initialize AssetBundleManifest which loads the AssetBundleManifest object.
            var request = ResourceManager.Initialize(AppConst.AssetDirname);

            if (request != null)
            {
                yield return(StartCoroutine(request));
            }
        }