public static void SetZ(this Transform transform, float z) { transform.position = new Vector3(transform.position.x, transform.position.y, z); }