public void SetActiveCamera(BaseCamera newCamera) { if (activeCam == newCamera) { return; } newCamera.SetLastCameraRotation(activeCam.GetRotation()); EnableCameraComponents(activeCam, false); EnableCameraComponents(newCamera, true); activeCam = newCamera; }