Пример #1
0
    /// <summary>
    ///
    /// </summary>
    private void ShowDesiredCup()
    {
        CupInteractable cup = m_desiredCup.GetComponent <CupInteractable>();

        cup.SetAsDesiredCup();
        cup.Reveal();
    }
Пример #2
0
    /// <summary>
    ///
    /// </summary>
    private void HideDesiredCup()
    {
        CupInteractable cup = m_desiredCup.GetComponent <CupInteractable>();

        cup.Hide();
    }
Пример #3
0
 /// <summary>
 ///
 /// </summary>
 private void SetDesiredCup()
 {
     m_desiredCup = m_cups[Random.Range(0, m_cups.Count)];
     CupInteractable cup = m_desiredCup.GetComponent <CupInteractable>();
 }