Exemplo n.º 1
0
    public void MakeVerticalBomb()
    {
        GamePieceType = GamePieceSubType.VerticalBomb;
        GameObject arrow = Instantiate(ColumnArrow, transform.position, Quaternion.identity);

        arrow.transform.parent = transform;
    }
Exemplo n.º 2
0
    public void MakeHorizontalBomb()
    {
        GamePieceType = GamePieceSubType.HorizontalBomb;
        GameObject arrow = Instantiate(RowArrow, transform.position, Quaternion.identity);

        arrow.transform.parent = transform;
    }
Exemplo n.º 3
0
    public void MakeColorBomb()
    {
        GamePieceType = GamePieceSubType.ColourBomb;
        GameObject colour = Instantiate(ColourBomb, transform.position, Quaternion.identity);

        colour.transform.parent = transform;
    }