static int set_assetManager(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); ResManager obj = (ResManager)o; Tangzx.ABSystem.AssetBundleManager arg0 = (Tangzx.ABSystem.AssetBundleManager)ToLua.CheckObject <Tangzx.ABSystem.AssetBundleManager>(L, 2); obj.assetManager = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index assetManager on a nil value")); } }
static int get_assetManager(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); ResManager obj = (ResManager)o; Tangzx.ABSystem.AssetBundleManager ret = obj.assetManager; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index assetManager on a nil value")); } }
public AssetBundleManager() { Instance = this; pathResolver = new AssetBundlePathResolver(); }
public AssetBundleManager() { Instance = this; pathResolver = new AssetBundlePathResolver(); }