Esempio n. 1
0
    public void HideWelcomePanel()
    {
        if (State == UIState.BlockInput || State != UIState.WelcomePage)
        {
            return;
        }

        _welcomePage.Hide(() =>
        {
            Destroy(_welcomePage);

            _listStateLine.Show(() => { });
            _pokemonList.Show(delegate
            {
                SetState(UIState.PokemonList);
            });
        });
    }