z value autos to negative number unity code example
Example: change z value unity
Vector3 temp = transform.position;
temp.x = 10.0f;
transform.position = temp;
Vector3 temp = transform.position;
temp.x = 10.0f;
transform.position = temp;