예제 #1
0
 static public int GetReactionTorque(IntPtr l)
 {
     try {
         UnityEngine.HingeJoint2D self = (UnityEngine.HingeJoint2D)checkSelf(l);
         System.Single            a1;
         checkType(l, 2, out a1);
         var ret = self.GetReactionTorque(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int GetReactionTorque(IntPtr l)
 {
     try{
         UnityEngine.HingeJoint2D self = (UnityEngine.HingeJoint2D)checkSelf(l);
         System.Single            a1;
         checkType(l, 2, out a1);
         System.Single ret = self.GetReactionTorque(a1);
         pushValue(l, ret);
         return(1);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }