Пример #1
0
 static public int constructor(IntPtr l)
 {
     UnityEngine.RenderSettings o;
     o = new UnityEngine.RenderSettings();
     pushObject(l, o);
     return(1);
 }
	static public int constructor(IntPtr l) {
		try {
			UnityEngine.RenderSettings o;
			o=new UnityEngine.RenderSettings();
			pushValue(l,true);
			pushValue(l,o);
			return 2;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
Пример #3
0
 static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.RenderSettings o;
         o = new UnityEngine.RenderSettings();
         pushValue(l, o);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 public static int constructor(IntPtr l)
 {
     try {
         UnityEngine.RenderSettings o;
         o=new UnityEngine.RenderSettings();
         pushValue(l,o);
         return 1;
     }
     catch(Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return 0;
     }
 }
 static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.RenderSettings o;
         o = new UnityEngine.RenderSettings();
         pushValue(l, o);
         return(1);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
 static public int constructor(IntPtr l)
 {
     LuaDLL.lua_remove(l, 1);
     UnityEngine.RenderSettings o;
     if (matchType(l, 1))
     {
         o = new UnityEngine.RenderSettings();
         pushObject(l, o);
         return(1);
     }
     LuaDLL.luaL_error(l, "New object failed.");
     return(0);
 }
 static int QPYX__CreateUnityEngine_RenderSettings_YXQP(IntPtr L_YXQP)
 {
     try
     {
         int QPYX_count_YXQP = LuaDLL.lua_gettop(L_YXQP);
         if (QPYX_count_YXQP == 0)
         {
             UnityEngine.RenderSettings QPYX_obj_YXQP = new UnityEngine.RenderSettings();
             ToLua.PushSealed(L_YXQP, QPYX_obj_YXQP);
             return(1);
         }
         else
         {
             return(LuaDLL.luaL_throw(L_YXQP, "invalid arguments to ctor method: UnityEngine.RenderSettings.New"));
         }
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
    static int _CreateUnityEngine_RenderSettings(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 0)
            {
                UnityEngine.RenderSettings obj = new UnityEngine.RenderSettings();
                ToLua.PushSealed(L, obj);
                return(1);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: UnityEngine.RenderSettings.New"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }