Beispiel #1
0
    private IEnumerator HideDropdown(bool bStatsMenu)
    {
        float WaitTime = Menu.RaiseMenu();

        yield return(new WaitForSeconds(WaitTime));

        Scroller.MainMenu();
        if (bStatsMenu)
        {
            Menu.StatsMenu.Hide();
        }
    }
    public float RaiseMenu()
    {
        float waitTime = _menu.RaiseMenu();

        return(waitTime);
    }