Exemplo n.º 1
0
    private IEnumerator SidebarShown_Exit()
    {
        this.Log("[App] SidebarShown_Exit, going to " + appStateMachine.NextState);
        sidePanel.onClickOutsidePanel -= ChangeStateToHome;

        appLogo.SetActive(true);
        sidePanel.HideSideBar_StartAnim();
        yield return(null);

        yield return(new WaitUntil(() => sidePanel.IsAnimating() == false));
    }