BringIn() публичный Метод

Brings in the panel by playing its "Bring In Forward" transition.
public BringIn ( ) : void
Результат void
Пример #1
0
    protected void DoPanelStuff()
    {
        if (toggle)
        {
            if (panelManager != null)
            {
                if (panelManager.CurrentPanel == panel)
                {
                    panelManager.Dismiss(UIPanelManager.MENU_DIRECTION.Forwards);
                    panelIsShowing = false;
                }
                else
                {
                    panelManager.BringIn(panel);
                    panelIsShowing = true;
                }
            }
            else
            {
                if (panelIsShowing)
                {
                    panel.Dismiss();
                }
                else
                {
                    panel.BringIn();
                }

                panelIsShowing = !panelIsShowing;
            }

            base.Value = panelIsShowing;
        }
        else
        {
            if (panelManager != null)
            {
                panelManager.BringIn(panel, UIPanelManager.MENU_DIRECTION.Forwards);
            }
            else
            {
                panel.BringIn();
            }
        }
    }