protected virtual bool ValidateHoverPointer()
        {
            if (this.hoverIsActive == false)
            {
                return(false);
            }
            if (this.hoverOnAnyPointerState == false && WindowSystemInput.GetPointerState() != PointerState.Default)
            {
                return(false);
            }

            return(true);
        }
Пример #2
0
        private bool ValidateHoverPointer_INTERNAL()
        {
            if (this.hoverIsActive == false)
            {
                return(false);
            }
            if (this.hoverOnAnyButtonState == false && this.IsInteractable() == false)
            {
                return(false);
            }
            if (this.hoverOnAnyPointerState == false && WindowSystemInput.GetPointerState() != PointerState.Default)
            {
                return(false);
            }

            return(true);
        }
Пример #3
0
        private bool ValidateHoverPointer(PointerEventData eventData)
        {
            if (this.hoverIsActive == false)
            {
                return(false);
            }
            if (this.button != null && this.hoverOnAnyButtonState == false && this.button.interactable == false)
            {
                return(false);
            }
            if (this.hoverOnAnyPointerState == false && WindowSystemInput.GetPointerState() != PointerState.Default)
            {
                return(false);
            }

            return(true);
        }