If there is an object (imageUI) above the button (background), is there a way to ensure that the overlapping objects have the same effect?
There is a button all over the bagground.Press button to start the process.
You can't press where it overlaps with an object, so you can handle it even if it overlaps.
Is there a way?
Assume that you want to do what you want to do is "I want to detect clicks across the screen."
You just need to detect clicks without using UIButton.
void Update(){
if(Input.GetMouseButtonDown(0)){
Debug.Log("Pressed left click.");
}
}
http://docs.unity3d.com/jp/current/ScriptReference/Input.GetMouseButtonDown.html
620 Uncaught (inpromise) Error on Electron: An object could not be cloned
573 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
917 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
613 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.