C# Vector3 vs 3 variables code example Example: how to set a vector 3 variable in csharp Vector3 vector3Variable = new Vector3 (x, y, z);