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