static public int constructor(IntPtr l)
 {
     try {
                     #if DEBUG
         var    method     = System.Reflection.MethodBase.GetCurrentMethod();
         string methodName = GetMethodName(method);
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.BeginSample(methodName);
                     #else
         Profiler.BeginSample(methodName);
                     #endif
                     #endif
         UnityEngine.HumanLimit o;
         o = new UnityEngine.HumanLimit();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
             #if DEBUG
     finally {
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.EndSample();
                     #else
         Profiler.EndSample();
                     #endif
     }
             #endif
 }
 static public int set_center(IntPtr l)
 {
     UnityEngine.HumanLimit o = (UnityEngine.HumanLimit)checkSelf(l);
     UnityEngine.Vector3    v;
     checkType(l, 2, out v);
     o.center = v;
     setBack(l, o);
     return(0);
 }
    static public int set_useDefaultValues(IntPtr l)
    {
        UnityEngine.HumanLimit o = (UnityEngine.HumanLimit)checkSelf(l);
        bool v;

        checkType(l, 2, out v);
        o.useDefaultValues = v;
        setBack(l, o);
        return(0);
    }
    static public int set_axisLength(IntPtr l)
    {
        UnityEngine.HumanLimit o = (UnityEngine.HumanLimit)checkSelf(l);
        float v;

        checkType(l, 2, out v);
        o.axisLength = v;
        setBack(l, o);
        return(0);
    }
	static public int constructor(IntPtr l) {
		try {
			UnityEngine.HumanLimit o;
			o=new UnityEngine.HumanLimit();
			pushValue(l,true);
			pushValue(l,o);
			return 2;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
Example #6
0
 static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.HumanLimit o;
         o = new UnityEngine.HumanLimit();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 public static int constructor(IntPtr l)
 {
     try {
         UnityEngine.HumanLimit o;
         o=new UnityEngine.HumanLimit();
         pushValue(l,o);
         return 1;
     }
     catch(Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return 0;
     }
 }
Example #8
0
 static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.HumanLimit o;
         o = new UnityEngine.HumanLimit();
         pushValue(l, o);
         return(1);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
Example #9
0
 static void HumanLimit_center(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.HumanLimit _this = (UnityEngine.HumanLimit)vc.csObj;
         var result = _this.center;
         JSApi.setVector3S((int)JSApi.SetType.Rval, result);
     }
     else
     {
         UnityEngine.Vector3    arg0  = (UnityEngine.Vector3)JSApi.getVector3S((int)JSApi.GetType.Arg);
         UnityEngine.HumanLimit _this = (UnityEngine.HumanLimit)vc.csObj;
         _this.center = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
Example #10
0
 static void HumanLimit_axisLength(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.HumanLimit _this = (UnityEngine.HumanLimit)vc.csObj;
         var result = _this.axisLength;
         JSApi.setSingle((int)JSApi.SetType.Rval, (System.Single)(result));
     }
     else
     {
         System.Single          arg0  = (System.Single)JSApi.getSingle((int)JSApi.GetType.Arg);
         UnityEngine.HumanLimit _this = (UnityEngine.HumanLimit)vc.csObj;
         _this.axisLength = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
Example #11
0
// fields

// properties
    static void HumanLimit_useDefaultValues(JSVCall vc)
    {
        if (vc.bGet)
        {
            UnityEngine.HumanLimit _this = (UnityEngine.HumanLimit)vc.csObj;
            var result = _this.useDefaultValues;
            JSApi.setBooleanS((int)JSApi.SetType.Rval, (System.Boolean)(result));
        }
        else
        {
            System.Boolean         arg0  = (System.Boolean)JSApi.getBooleanS((int)JSApi.GetType.Arg);
            UnityEngine.HumanLimit _this = (UnityEngine.HumanLimit)vc.csObj;
            _this.useDefaultValues = arg0;
            JSMgr.changeJSObj(vc.jsObjID, _this);
        }
    }
// fields
    static void HumanBone_limit(JSVCall vc)
    {
        if (vc.bGet)
        {
            UnityEngine.HumanBone _this = (UnityEngine.HumanBone)vc.csObj;
            var result = _this.limit;
            JSMgr.datax.setObject((int)JSApi.SetType.Rval, result);
        }
        else
        {
            UnityEngine.HumanLimit arg0  = (UnityEngine.HumanLimit)JSMgr.datax.getObject((int)JSApi.GetType.Arg);
            UnityEngine.HumanBone  _this = (UnityEngine.HumanBone)vc.csObj;
            _this.limit = arg0;
            JSMgr.changeJSObj(vc.jsObjID, _this);
        }
    }
 static int _CreateHumanLimit(IntPtr L)
 {
     LuaScriptMgr.CheckArgsCount(L, 0);
     HumanLimit obj = new HumanLimit();
     LuaScriptMgr.PushValue(L, obj);
     return 1;
 }
 static public int get_axisLength(IntPtr l)
 {
     UnityEngine.HumanLimit o = (UnityEngine.HumanLimit)checkSelf(l);
     pushValue(l, o.axisLength);
     return(1);
 }
 static public int get_center(IntPtr l)
 {
     UnityEngine.HumanLimit o = (UnityEngine.HumanLimit)checkSelf(l);
     pushValue(l, o.center);
     return(1);
 }
 static public int get_useDefaultValues(IntPtr l)
 {
     UnityEngine.HumanLimit o = (UnityEngine.HumanLimit)checkSelf(l);
     pushValue(l, o.useDefaultValues);
     return(1);
 }
Example #17
0
	    private HumanLimit DeSerializeHumanLimit(BinaryReader br)
	    {
	        var res = new HumanLimit();
	        res.axisLength = br.ReadSingle();
	        res.center = DeserializeVector3(br);
	        res.max = DeserializeVector3(br);
	        res.min = DeserializeVector3(br);
	        res.useDefaultValues = br.ReadBoolean();
	        return res;
	    }
Example #18
0
	    private void Serialize(BinaryWriter bn, HumanLimit value)
	    {
	        bn.Write(value.axisLength);
	        Serialize(bn,value.center);
	        Serialize(bn,value.max);
	        Serialize(bn,value.min);
	        bn.Write(value.useDefaultValues);
	    }