ソースを参照

small fix for v1.32

meidomustard 5 年 前
コミット
050b6ac6e6
1 ファイル変更2 行追加2 行削除
  1. 2 2
      MultipleMaids/MouseDrag.cs

+ 2 - 2
MultipleMaids/MouseDrag.cs

@@ -39,7 +39,7 @@ public class MouseDrag : MonoBehaviour
     {
         if (maid == null)
             return;
-        IKCtrlData ikData = maid.body0.IKCtrl.GetIKData("左手", false);
+        IKCtrlData ikData = maid.body0.IKCtrl.GetIKData("左手");
         worldPoint = Camera.main.WorldToScreenPoint(transform.position);
         off = transform.position - Camera.main.ScreenToWorldPoint(new Vector3(Input.mousePosition.x, Input.mousePosition.y, worldPoint.z));
         off2 = new Vector3(obj.transform.position.x - HandL.position.x,
@@ -131,7 +131,7 @@ public class MouseDrag : MonoBehaviour
         {
             Vector3 tgt = Camera.main.ScreenToWorldPoint(new Vector3(Input.mousePosition.x, Input.mousePosition.y, worldPoint.z)) + off
                           - off2;
-            IKCtrlData ikData = maid.body0.IKCtrl.GetIKData("左手", false);
+            IKCtrlData ikData = maid.body0.IKCtrl.GetIKData("左手");
             isMouseDrag = true;
             if (!isPlay)
                 isStop = true;