// 行为调用 与 坐标切换 #region // 本地许可cmd发送 public void SendCMDMove(Coord tarCoord) { Debug.Log(LegalMyTargetCoord(tarCoord)); Debug.Log(chessType.LegalCoord(coord, tarCoord, isRed, chessBoard)); if (IsMyChess() && !motion.isPreparing && !motion.isMoving && !motion.isWaiting && inMovingCount < maxMovingCount && LegalMyTargetCoord(tarCoord) && chessType.LegalCoord(coord, tarCoord, isRed, chessBoard)) { netPlayer.CMDMove(name, tarCoord.row, tarCoord.col); } }