public IEnumerator ClickMethod(Buyable toDisplay) { parent.Hide(); yield return(toDisplay.Buy()); parent.Destroy(); }
public override void Blur() { bubbleFrame.material.color = blurColor; for (int i = 0; i < choicePanels.Count; i++) { ChoicePanel panel = choicePanels[i]; panel.ChoiceBubbleInFocus = false; if (i == chosenOptionIndex) { panel.Show(); panel.Focus(); } else { panel.Blur(); panel.Hide(); } } }