Ejemplo n.º 1
0
 static public void FastSetter(this UnityEngine.Rigidbody o, string propertyName, UnityEngine.RigidbodyInterpolation value)
 {
     switch (propertyName)
     {
     case "interpolation":
         o.interpolation = value; return;
     }
     LBoot.LogUtil.Error("UnityEngine.Rigidbody no Setter Found : " + propertyName);
 }
Ejemplo n.º 2
0
 static void Rigidbody_interpolation(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.Rigidbody _this = (UnityEngine.Rigidbody)vc.csObj;
         var result = _this.interpolation;
         JSApi.setEnum((int)JSApi.SetType.Rval, (int)result);
     }
     else
     {
         UnityEngine.RigidbodyInterpolation arg0 = (UnityEngine.RigidbodyInterpolation)JSApi.getEnum((int)JSApi.GetType.Arg);
         UnityEngine.Rigidbody _this             = (UnityEngine.Rigidbody)vc.csObj;
         _this.interpolation = arg0;
     }
 }