Answers for "check whether cursor is on button unity"

0

check whether cursor is on button unity

if(buttonRect.Contains(new Vector2(Input.mousePosition.x, Screen.height - Input.mousePosition.y), true)) {           //      }
Posted by: Guest on May-04-2021

Code answers related to "check whether cursor is on button unity"

Browse Popular Code Answers by Language