public void SquareBomb() { isMatched = false; SpriteRenderer mySprite = GetComponent <SpriteRenderer>(); mySprite.sprite = squareBomb; special = SpecialCandy.SquareBomb; }
public void RowStripe() { isMatched = false; SpriteRenderer mySprite = GetComponent <SpriteRenderer>(); mySprite.sprite = rowStripe; special = SpecialCandy.RowStripe; }
public void ColorBomb() { isMatched = false; SpriteRenderer mySprite = GetComponent <SpriteRenderer>(); gameObject.name = "rainbow"; mySprite.sprite = colorBomb; special = SpecialCandy.ColorBomb; }
public void Start() { special = SpecialCandy.None; StartCoroutine(CollapseCandy()); }