/// <summary> /// Modo: CameraMode /// </summary> private void radioButtonCameraMode_CheckedChanged(object sender, EventArgs e) { if (radioButtonCameraMode.Checked) { unselectAllModes(radioButtonCameraMode); currentState = GuiState.CameraMode; FPSCamera.SetCamera(BasicCamera.Position, BasicCamera.LookAt); editor.Camera = FPSCamera; cameraSpeed.Enabled = true; } else { BasicCamera.SetCamera(FPSCamera.Position, FPSCamera.LookAt); editor.Camera = BasicCamera; cameraSpeed.Enabled = false; } }