예제 #1
0
    public IEnumerator ClickMethod(Buyable toDisplay)
    {
        parent.Hide();
        yield return(toDisplay.Buy());

        parent.Destroy();
    }
예제 #2
0
    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();
            }
        }
    }