I want to modify the orbitCamer script so that it can tell when clicking on a UI that the script doesn’t execute, how can I tell if the mouse is clicking on the UI?
I want to modify the orbitCamer script so that it can tell when clicking on a UI that the script doesn’t execute, how can I tell if the mouse is clicking on the UI?
Hi @chuxinhao,
Check this thread, it can be of help: Detect click on UI elements - #2 by Leonidas