Пример #1
0
        public void OnPointerUp(BaseEventData eventData)
        {
            var g = EventSystem.current.currentSelectedGameObject;

            GameUGUIEventDispatcher.onPressUpHandle(packageName, moduleName, g, eventData);
        }
Пример #2
0
        public void OnCancel(BaseEventData eventData)
        {
            var g = EventSystem.current.currentSelectedGameObject;

            GameUGUIEventDispatcher.onCancelHandle(packageName, moduleName, g, eventData);
        }
Пример #3
0
        public void OnButtonClick(PointerEventData pointerEventData)
        {
            var g = EventSystem.current.currentSelectedGameObject;

            GameUGUIEventDispatcher.onClickHandle(packageName, moduleName, g); //Debug.Log("you are click "+g);
        }