public void RotateImage() { CameraDevice.RotateImage(); foreach (GameObject obj in rotateObjects) { obj.transform.Rotate(0, 0, 90); } }