private void UpdateCameraPosition(CameraAgent agent) { Vector3 pos = agent.GetCameraPosition(); transform.position = new Vector3(pos.x, pos.y, pos.z); transform.rotation = agent.GetCameraRotation(); _camera.orthographicSize = agent.GetCameraOrthographicScale(); }