public override void Setup(Color teamColor, Color32 imageColor, PieceManager pieceManager) { base.Setup(teamColor, imageColor, pieceManager); movement = new Vector3Int(0, 0, 7); }
public override void Setup(Color teamColor, Color32 imageColor, PieceManager pieceManager) { base.Setup(teamColor, imageColor, pieceManager); movement = TeamColor == Color.white ? new Vector3Int(0, 1, 1) : new Vector3Int(0, -1, -1); }
public virtual void Setup(Color teamColor, Color32 imageColor, PieceManager pieceManager) { _pieceManager = pieceManager; TeamColor = teamColor; GetComponent <Image>().color = imageColor; }