예제 #1
0
        /** Implementation of ISelectHandler */
        public void OnSelect(BaseEventData eventData)
        {
            if (menuElement == null)
            {
                return;
            }

            if (menu.CanCurrentlyKeyboardControl(KickStarter.stateHandler.gameState))
            {
                KickStarter.sceneSettings.PlayDefaultSound(menuElement.hoverSound, false);
                KickStarter.eventManager.Call_OnMouseOverMenuElement(menu, menuElement, slot);
            }
        }