I’m using a simple script: mouseDrag.cs - Pastebin.com
A image of my editor:
I think it isn’t recognizing the mouse click. Nothing hapens.
Someone, pls?
I’m using a simple script: mouseDrag.cs - Pastebin.com
A image of my editor:
I think it isn’t recognizing the mouse click. Nothing hapens.
Someone, pls?
I have never used it, but documentation says onMouseDrag works on collider and GUIElements, you have neither. Put a collider on your gameobject and try again.