SunsetHigh.Panel.onFocus C# (CSharp) Method

onFocus() public method

Invoked when this panel now has focus (i.e. user is navigating this panel)
public onFocus ( ) : void
return void
        public virtual void onFocus()
        {
            this.setHighlighted(true);
        }

Usage Example

Ejemplo n.º 1
0
        public static void pushActivePanel(Panel panel)
        {
            nullCheck();
            if (panel == null)
                return;

            activePanel.onUnfocus();
            activePanel = panel;
            panelStack.Push(activePanel);
            PanelGroupSorter.panelIn(activePanel);
            activePanel.onFocus();
            menuArrow.moveToActivePanel(activePanel);
        }