Ejemplo n.º 1
0
        private bool IsPointerOverStaging()
        {
            if (stageUiPointerHoverDetector == null)
            {
                stageUiPointerHoverDetector = StageManager.Instance.scrollRect.gameObject.AddOrGetComponent <PointerHoverDetector>();
            }

            if (stageUiPointerHoverDetector != null)
            {
                return(stageUiPointerHoverDetector.IsPointerHovering);
            }

            return(false);
        }
Ejemplo n.º 2
0
        private bool IsPointerOverStaging()
        {
            if (stageUiPointerHoverDetector == null)
            {
                stageUiPointerHoverDetector = StageManager.Instance.scrollRect.gameObject.AddOrGetComponent<PointerHoverDetector>();
            }

            if (stageUiPointerHoverDetector != null)
            {
                return stageUiPointerHoverDetector.IsPointerHovering;
            }

            return false;
        }