private static bool CanPlaceNode(RopeItem ropeTarget, RopeElement ropeSelected, Collider collider, out string resonwhy)
 {
     resonwhy = null;
     //if (ropeSelected.BindingTarget != ropeTarget)
     //{
     //    resonwhy = "对象不匹配";
     //}
     //else
     if (ropeTarget == null)
     {
         resonwhy = "目标点父级没有挂RopeObj脚本";
     }
     else if (ropeTarget.Connected)
     {
         resonwhy = "目标点已经完成连接";
     }
     else if (!ropeTarget.CanInstallCollider(collider))
     {
         resonwhy = "坐标点已经占用";
     }
     return(resonwhy == null);
 }
 private void PlaceNodeWrong(RopeItem ropeItem, Collider collider)
 {
     Debug.Log("PlaceNodeWrong");
     ropeItem.PickDownCollider(collider);
 }