示例#1
0
 static int LoadAssetBundle(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         Framework.AssetBundleManager obj = (Framework.AssetBundleManager)ToLua.CheckObject <Framework.AssetBundleManager>(L, 1);
         string arg0 = ToLua.CheckString(L, 2);
         Framework.AssetBundleManager.LoadBundleCallback arg1 = (Framework.AssetBundleManager.LoadBundleCallback)ToLua.CheckDelegate <Framework.AssetBundleManager.LoadBundleCallback>(L, 3);
         obj.LoadAssetBundle(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
示例#2
0
 public override bool MoveNext()
 {
     return(AssetBundleManager.GetLoadedAssetBundle(assetBundleName) == null);
 }
示例#3
0
 public SceneManager(AssetBundleManager assetBundleManager)
 {
     this.assetBundleManager = assetBundleManager;
     this.loadedScenes       = new HashSet <Scene>();
 }
示例#4
0
        public AssetBundleManifestOperation(string assetBundleName) : base(assetBundleName)
        {
            var bundleUrl = AssetBundleManager.GetAssetBundleURL(assetBundleName);

            www = new WWW(bundleUrl);
        }