Handle button being press
How can I detect if a handle button is being pressed?
The example below returns me true when the button is clicked:
if (Handles.Button(currentPos, Quaternion.identity, handleScale, handleScale, CapDotSelected)) //Button clicked!
{
Debug.Log("testt");
}
But I want to know if there's a way to detect if the button is being pressed (i.e when the user holds the mouse or finger)
Comment