Пример #1
0
    public override void ReplacePawn(Square LocationOfPawn, int PreviousMovesMade)
    {
        Bishop AddedPiece = LocationOfPawn.GetComponentInChildren <Canvas>().gameObject.AddComponent <Bishop>();

        AddedPiece.Initialize(false, PreviousMovesMade);
    }