private bool IsPointerOverStaging() { if (stageUiPointerHoverDetector == null) { stageUiPointerHoverDetector = StageManager.Instance.scrollRect.gameObject.AddOrGetComponent <PointerHoverDetector>(); } if (stageUiPointerHoverDetector != null) { return(stageUiPointerHoverDetector.IsPointerHovering); } return(false); }
private bool IsPointerOverStaging() { if (stageUiPointerHoverDetector == null) { stageUiPointerHoverDetector = StageManager.Instance.scrollRect.gameObject.AddOrGetComponent<PointerHoverDetector>(); } if (stageUiPointerHoverDetector != null) { return stageUiPointerHoverDetector.IsPointerHovering; } return false; }