Dragged gameObject being displaced
I'm working in Unity 5.6.0f3 and Visual Studio 2017, trying to make a card game that uses dragged cards. When I drag a card it's supposed to stay centered with the mouse, but it's showing up on the edge of the screen when I start to drag it. How do I make it so the card drags with my mouse instead? Currently I'm using two scripts, one for a drop zone and one for "draggable". When I tried to debug the draggable section it kept referring me back to a line in my drop zone script that just had a '{'. Also, I'm following a tutorial from YouTube, and they aren't experiencing the same issue, and looking through the comments, nobody else is either. https://www.youtube.com/watch?v=P66SSOzCqFU is the tutorial.
Your answer
Follow this Question
Related Questions
Visual studio debugging [Unable to step. Array subscript out of range.] 1 Answer
Trying to make a door. Zoning or Load Level with Animation. 1 Answer
how do i make the player walk the direction the camera looks at 1 Answer
Input.GetAxisRaw always returns -0.6 1 Answer
blending between meshes 1 Answer