static public int constructor(IntPtr l) { try { int argc = LuaDLL.lua_gettop(l); UnityEngine.Experimental.Rendering.BlendState o; if (argc == 3) { System.Boolean a1; checkType(l, 2, out a1); System.Boolean a2; checkType(l, 3, out a2); o = new UnityEngine.Experimental.Rendering.BlendState(a1, a2); pushValue(l, true); pushValue(l, o); return(2); } else if (argc <= 2) { o = new UnityEngine.Experimental.Rendering.BlendState(); pushValue(l, true); pushValue(l, o); return(2); } return(error(l, "New object failed.")); } catch (Exception e) { return(error(l, e)); } }
static public int constructor(IntPtr l) { try { UnityEngine.Experimental.Rendering.BlendState o; System.Boolean a1; checkType(l, 2, out a1); System.Boolean a2; checkType(l, 3, out a2); o = new UnityEngine.Experimental.Rendering.BlendState(a1, a2); pushValue(l, true); pushValue(l, o); return(2); } catch (Exception e) { return(error(l, e)); } }