Inheritance: UnityEngine.MonoBehaviour
Exemplo n.º 1
0
    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"));
        }
    }
Exemplo n.º 2
0
    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"));
        }
    }
Exemplo n.º 3
0
 public AssetBundleManager()
 {
     Instance     = this;
     pathResolver = new AssetBundlePathResolver();
 }
Exemplo n.º 4
0
 public AssetBundleManager()
 {
     Instance = this;
     pathResolver = new AssetBundlePathResolver();
 }