- Home /
Drag Script Not Working
I have this nice little script I made which would let you pick up an item, but when I tried to implement Vector 3, it broke. It operates off of a tag, so I used it to say, in short, "If the player is less than 5 feet away, they can pick "Object" (A tag) up." I keep getting an error, and I think it is because of how I wrote the tag out. I will post the line that is causing the errors when I get home. Any help? XP
Need to see the code. Please post the script, the exact error message, and put a comment on the line that generates the error.
Ok, once my compute returns from the dead.... Getting a new one this week.
Answer by oooooooooott · Apr 25, 2013 at 11:07 PM
KK, this is no longer valid, since the default drag script included in unity works fine for what I need. Thanks for the support! :P
Your answer
Follow this Question
Related Questions
How to add a peaking system? 1 Answer
How do you Find Object through tags in javascript? 3 Answers
Attach object as child using code 1 Answer
enemy mechanics script and declining health 1 Answer
gameObject.active Find 1 Answer