﻿using System;
using SLua;
using System.Collections.Generic;
[UnityEngine.Scripting.Preserve]
public class Lua_UnityEngine_CharacterJoint : LuaObject {
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	[UnityEngine.Scripting.Preserve]
	static public int get_swingAxis(IntPtr l) {
		try {
			UnityEngine.CharacterJoint self=(UnityEngine.CharacterJoint)checkSelf(l);
			pushValue(l,true);
			pushValue(l,self.swingAxis);
			return 2;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	[UnityEngine.Scripting.Preserve]
	static public int set_swingAxis(IntPtr l) {
		try {
			UnityEngine.CharacterJoint self=(UnityEngine.CharacterJoint)checkSelf(l);
			UnityEngine.Vector3 v;
			checkType(l,2,out v);
			self.swingAxis=v;
			pushValue(l,true);
			return 1;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	[UnityEngine.Scripting.Preserve]
	static public int get_twistLimitSpring(IntPtr l) {
		try {
			UnityEngine.CharacterJoint self=(UnityEngine.CharacterJoint)checkSelf(l);
			pushValue(l,true);
			pushValue(l,self.twistLimitSpring);
			return 2;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	[UnityEngine.Scripting.Preserve]
	static public int set_twistLimitSpring(IntPtr l) {
		try {
			UnityEngine.CharacterJoint self=(UnityEngine.CharacterJoint)checkSelf(l);
			UnityEngine.SoftJointLimitSpring v;
			checkValueType(l,2,out v);
			self.twistLimitSpring=v;
			pushValue(l,true);
			return 1;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	[UnityEngine.Scripting.Preserve]
	static public int get_swingLimitSpring(IntPtr l) {
		try {
			UnityEngine.CharacterJoint self=(UnityEngine.CharacterJoint)checkSelf(l);
			pushValue(l,true);
			pushValue(l,self.swingLimitSpring);
			return 2;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	[UnityEngine.Scripting.Preserve]
	static public int set_swingLimitSpring(IntPtr l) {
		try {
			UnityEngine.CharacterJoint self=(UnityEngine.CharacterJoint)checkSelf(l);
			UnityEngine.SoftJointLimitSpring v;
			checkValueType(l,2,out v);
			self.swingLimitSpring=v;
			pushValue(l,true);
			return 1;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	[UnityEngine.Scripting.Preserve]
	static public int get_lowTwistLimit(IntPtr l) {
		try {
			UnityEngine.CharacterJoint self=(UnityEngine.CharacterJoint)checkSelf(l);
			pushValue(l,true);
			pushValue(l,self.lowTwistLimit);
			return 2;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	[UnityEngine.Scripting.Preserve]
	static public int set_lowTwistLimit(IntPtr l) {
		try {
			UnityEngine.CharacterJoint self=(UnityEngine.CharacterJoint)checkSelf(l);
			UnityEngine.SoftJointLimit v;
			checkValueType(l,2,out v);
			self.lowTwistLimit=v;
			pushValue(l,true);
			return 1;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	[UnityEngine.Scripting.Preserve]
	static public int get_highTwistLimit(IntPtr l) {
		try {
			UnityEngine.CharacterJoint self=(UnityEngine.CharacterJoint)checkSelf(l);
			pushValue(l,true);
			pushValue(l,self.highTwistLimit);
			return 2;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	[UnityEngine.Scripting.Preserve]
	static public int set_highTwistLimit(IntPtr l) {
		try {
			UnityEngine.CharacterJoint self=(UnityEngine.CharacterJoint)checkSelf(l);
			UnityEngine.SoftJointLimit v;
			checkValueType(l,2,out v);
			self.highTwistLimit=v;
			pushValue(l,true);
			return 1;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	[UnityEngine.Scripting.Preserve]
	static public int get_swing1Limit(IntPtr l) {
		try {
			UnityEngine.CharacterJoint self=(UnityEngine.CharacterJoint)checkSelf(l);
			pushValue(l,true);
			pushValue(l,self.swing1Limit);
			return 2;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	[UnityEngine.Scripting.Preserve]
	static public int set_swing1Limit(IntPtr l) {
		try {
			UnityEngine.CharacterJoint self=(UnityEngine.CharacterJoint)checkSelf(l);
			UnityEngine.SoftJointLimit v;
			checkValueType(l,2,out v);
			self.swing1Limit=v;
			pushValue(l,true);
			return 1;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	[UnityEngine.Scripting.Preserve]
	static public int get_swing2Limit(IntPtr l) {
		try {
			UnityEngine.CharacterJoint self=(UnityEngine.CharacterJoint)checkSelf(l);
			pushValue(l,true);
			pushValue(l,self.swing2Limit);
			return 2;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	[UnityEngine.Scripting.Preserve]
	static public int set_swing2Limit(IntPtr l) {
		try {
			UnityEngine.CharacterJoint self=(UnityEngine.CharacterJoint)checkSelf(l);
			UnityEngine.SoftJointLimit v;
			checkValueType(l,2,out v);
			self.swing2Limit=v;
			pushValue(l,true);
			return 1;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	[UnityEngine.Scripting.Preserve]
	static public int get_enableProjection(IntPtr l) {
		try {
			UnityEngine.CharacterJoint self=(UnityEngine.CharacterJoint)checkSelf(l);
			pushValue(l,true);
			pushValue(l,self.enableProjection);
			return 2;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	[UnityEngine.Scripting.Preserve]
	static public int set_enableProjection(IntPtr l) {
		try {
			UnityEngine.CharacterJoint self=(UnityEngine.CharacterJoint)checkSelf(l);
			bool v;
			checkType(l,2,out v);
			self.enableProjection=v;
			pushValue(l,true);
			return 1;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	[UnityEngine.Scripting.Preserve]
	static public int get_projectionDistance(IntPtr l) {
		try {
			UnityEngine.CharacterJoint self=(UnityEngine.CharacterJoint)checkSelf(l);
			pushValue(l,true);
			pushValue(l,self.projectionDistance);
			return 2;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	[UnityEngine.Scripting.Preserve]
	static public int set_projectionDistance(IntPtr l) {
		try {
			UnityEngine.CharacterJoint self=(UnityEngine.CharacterJoint)checkSelf(l);
			float v;
			checkType(l,2,out v);
			self.projectionDistance=v;
			pushValue(l,true);
			return 1;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	[UnityEngine.Scripting.Preserve]
	static public int get_projectionAngle(IntPtr l) {
		try {
			UnityEngine.CharacterJoint self=(UnityEngine.CharacterJoint)checkSelf(l);
			pushValue(l,true);
			pushValue(l,self.projectionAngle);
			return 2;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	[UnityEngine.Scripting.Preserve]
	static public int set_projectionAngle(IntPtr l) {
		try {
			UnityEngine.CharacterJoint self=(UnityEngine.CharacterJoint)checkSelf(l);
			float v;
			checkType(l,2,out v);
			self.projectionAngle=v;
			pushValue(l,true);
			return 1;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[UnityEngine.Scripting.Preserve]
	static public void reg(IntPtr l) {
		getTypeTable(l,"UnityEngine.CharacterJoint");
		addMember(l,"swingAxis",get_swingAxis,set_swingAxis,true);
		addMember(l,"twistLimitSpring",get_twistLimitSpring,set_twistLimitSpring,true);
		addMember(l,"swingLimitSpring",get_swingLimitSpring,set_swingLimitSpring,true);
		addMember(l,"lowTwistLimit",get_lowTwistLimit,set_lowTwistLimit,true);
		addMember(l,"highTwistLimit",get_highTwistLimit,set_highTwistLimit,true);
		addMember(l,"swing1Limit",get_swing1Limit,set_swing1Limit,true);
		addMember(l,"swing2Limit",get_swing2Limit,set_swing2Limit,true);
		addMember(l,"enableProjection",get_enableProjection,set_enableProjection,true);
		addMember(l,"projectionDistance",get_projectionDistance,set_projectionDistance,true);
		addMember(l,"projectionAngle",get_projectionAngle,set_projectionAngle,true);
		createTypeMetatable(l,null, typeof(UnityEngine.CharacterJoint),typeof(UnityEngine.Joint));
	}
}
