We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbde50f commit b8eca18Copy full SHA for b8eca18
Assets/Scripts/ChangeCursorExample.cs
@@ -21,6 +21,11 @@ public class ChangeCursorExample : MonoBehaviour
21
private void OnMouseEnter()
22
{
23
WebToolPlugins.SetCursor(CursorEnteredName);
24
+ if(Input.GetMouseButton(0))
25
+ {
26
+ // Entered with the mouse already down
27
+ OnMouseDown();
28
+ }
29
}
30
31
private void OnMouseExit()
0 commit comments