예제 #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);
        }