Exemple #1
0
        public override void Setup(Color teamColor, Color32 imageColor, PieceManager pieceManager)
        {
            base.Setup(teamColor, imageColor, pieceManager);

            movement = new Vector3Int(0, 0, 7);
        }
Exemple #2
0
        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);
        }
Exemple #3
0
 public virtual void Setup(Color teamColor, Color32 imageColor, PieceManager pieceManager)
 {
     _pieceManager = pieceManager;
     TeamColor     = teamColor;
     GetComponent <Image>().color = imageColor;
 }