I make mobile 2D game. I have the UI panel. I want to detect touch on the panel. Can the script detect touch in condition?
You could pass Touch.fingerId as parameter into EventSystem.IsPointerOverGameObject(int pointerID).
I make mobile 2D game. I have the UI panel. I want to detect touch on the panel. Can the script detect touch in condition?
You could pass Touch.fingerId as parameter into EventSystem.IsPointerOverGameObject(int pointerID).