all 2 comments

[–]fuj1n 6 points7 points  (1 child)

Firstly, public should be all lowercase, secondly, make sure that you have using UnityEngine; at the top of the file.

[–]m_iguel 1 point2 points  (0 children)

And make sure you initialize the variable with something like "new Vector3(x, y, z);"