unity setting origin with a vector code example Example: how to set a vector 3 variable in csharp Vector3 vector3Variable = new Vector3 (x, y, z);