- Home /
Question by
superluigi · Jun 29, 2013 at 06:41 PM ·
javascriptnoob
new Vector 3 help
Hi sometimes I see var abc : Vector3 = new Vector 3. Why do people put new Vector3?
Comment
Best Answer
Answer by KMKxJOEY1 · Jun 29, 2013 at 06:51 PM
because you are creating a variable and assigning a new Vector created by the script, not taking a vector from in game or from another variable, the script is literally making a new one
Your answer
Follow this Question
Related Questions
Multi-Touch help 1 Answer
Problem when creating a projectile for a weapon. (FIXED) 1 Answer
Extreme Beginner Scripting Question 2 Answers
How does Unity "read" JavaScript code? 3 Answers
What is wrong with my script? 1 Answer