OnMouseUp not working on Collider Drag and Drop system
Problem: Unity doesnt recognize the OnMouseUp on the drop object when i try moving an object over it and dropping it into it.
-If i click not on the object and let go over the handler, it recognizes it. Meaning i have a working system other than that specific call
-The code is as simple as OnMouseUp(){Debug.Log("hit"); } for testing purposes
This is the parent/drop handler object
This is the child/drag handler object
Also have a canvas with a Graphics Raycaster component
Main camera (for UI) that is orthographic and does NOT include the Default layer in its culling mask
Perspective Camera (FOV) that only includes the Default layer, and has a Physics 2D Raycaster Component
This is my Drop Handler, the On$$anonymous$$ouseUp is for the sprite/collider click, the OnDrop was from image but it cant be used in this case since i have both an othographic and persepective camera, and its the perspective that needs to recognize the interations
This is my drag handler (Its long/messy), biggest issue i cant figure out is how to get the On$$anonymous$$ouseUp to work when the dragging object is over top of it: