79555876

Date: 2025-04-04 16:42:12
Score: 3.5
Natty:
Report link

This function will work only when your mouse is on object collider. Just read this unity stuff - https://docs.unity3d.com/6000.0/Documentation/ScriptReference/MonoBehaviour.OnMouseDrag.html

Might be your mouse x value is zero. Try with delta value.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alok Dev