private void ReplayTriggered() { SetProgressText("REPLAYING", Color.yellow); SetInstructionText("PRESS '" + changeState + "' TO END REPLAY", instructionColor); if (replayPath.Length > 0) { SetSavedPathsText("Replay File @ " + replayPath); } bug_report_state_ = BugReportState.REPLAYING; }
private void RecordingTriggered() { saving_triggered_ = false; leap_controller_.BugReport.BeginRecording(); handController.ResetRecording(); handController.Record(); SetProgressText("RECORDING", Color.yellow); SetInstructionText("PRESS '" + changeState + "' TO END RECORD", instructionColor); SetSavedPathsText(""); bug_report_state_ = BugReportState.RECORDING; }
private void ReadyTriggered() { handController.ResetRecording(); handController.StopRecording(); InterfaceEnabled = m_interfaceEnabled; progressStatus.fillAmount = 1.0f; SetProgressText("READY", Color.green); SetInstructionText("PRESS '" + unlockStart + "' + '" + changeState + "' TO START RECORDING", instructionColor); SetSavedPathsText(""); bug_report_state_ = BugReportState.READY; }
private void OnBugReportClick() { if (BugReportState.isReady) { StateLayer defaultLayer = default(StateLayer); if (!StateManager.TryGetLayer("OptionUI", ref defaultLayer)) { defaultLayer = StateManager.GetDefaultLayer(); } StateManager.SetActiveInputLayer(defaultLayer); BugReportState bugReportState = new BugReportState(); bugReportState.Initialize(); defaultLayer.GetChainEnd().SetChildState(bugReportState, 0); } }
private void OnBugReport() { if (BugReportState.isReady) { StateLayer defaultLayer = default(StateLayer); if (!StateManager.TryGetLayer("OptionUI", ref defaultLayer)) { defaultLayer = StateManager.GetDefaultLayer(); } StateManager.SetActiveInputLayer(defaultLayer); UIManager.instance.NotifyLayerIndexChange(); BugReportState bugReportState = new BugReportState(); bugReportState.Initialize(); defaultLayer.GetChainEnd().SetChildState(bugReportState, 0); m_popupMenu.Close(); } }
private void ReadyTriggered() { handController.ResetRecording(); handController.StopRecording(); if (synchronizeRecorder != null && synchronizeRecorder.camRecorder != null) { synchronizeRecorder.m_hideInstructions = false; synchronizeRecorder.InterfaceEnabled = synchronizeRecorder.m_interfaceEnabled; synchronizeRecorder.showFrameTimeStamp = synchronizeRecorder.m_enableFrameTimeStamp; synchronizeRecorder.camRecorder.StopRecording(); } InterfaceEnabled = m_interfaceEnabled; progressStatus.fillAmount = 1.0f; SetProgressText("READY", Color.green); SetInstructionText("PRESS '" + unlockStart + "' + '" + changeState + "' TO START RECORDING", instructionColor); SetSavedPathsText(""); bug_report_state_ = BugReportState.READY; }
private void RecordingTriggered() { saving_triggered_ = false; leap_controller_.BugReport.BeginRecording(); handController.ResetRecording(); handController.Record(); if (synchronizeRecorder != null && synchronizeRecorder.camRecorder != null) { synchronizeRecorder.m_hideInstructions = true; synchronizeRecorder.InterfaceEnabled = true; synchronizeRecorder.showFrameTimeStamp = true; synchronizeRecorder.camRecorder.directory = Application.persistentDataPath + "/" + DateTime.Now.ToString("yyyy-MM-dd_HH-mm-ss"); synchronizeRecorder.camRecorder.StartRecording(); } SetProgressText("RECORDING", Color.yellow); SetInstructionText("PRESS '" + changeState + "' TO END RECORD", instructionColor); SetSavedPathsText(""); bug_report_state_ = BugReportState.RECORDING; }
private void ReplayTriggered() { SetProgressText("REPLAYING", Color.yellow); SetInstructionText("PRESS '" + changeState + "' TO END REPLAY", instructionColor); if (replayPath.Length > 0) { SetSavedPathsText("Replay File @ " + replayPath); } bug_report_state_ = BugReportState.REPLAYING; }
private void RecordingTriggered() { saving_triggered_ = false; leap_controller_.BugReport.BeginRecording(); handController.ResetRecording(); handController.Record(); SetProgressText("RECORDING", Color.yellow); SetInstructionText("PRESS '" + changeState + "' TO END RECORD", instructionColor); SetSavedPathsText (""); bug_report_state_ = BugReportState.RECORDING; }
private void ReadyTriggered() { handController.ResetRecording(); handController.StopRecording(); InterfaceEnabled = m_interfaceEnabled; progressStatus.fillAmount = 1.0f; SetProgressText("READY", Color.green); SetInstructionText("PRESS '" + unlockStart + "' + '" + changeState + "' TO START RECORDING", instructionColor); SetSavedPathsText (""); bug_report_state_ = BugReportState.READY; }
private void RecordingTriggered() { saving_triggered_ = false; leap_controller_.BugReport.BeginRecording(); handController.ResetRecording(); handController.Record(); if (synchronizeRecorder != null && synchronizeRecorder.camRecorder != null) { synchronizeRecorder.m_hideInstructions = true; synchronizeRecorder.InterfaceEnabled = true; synchronizeRecorder.showFrameTimeStamp = true; synchronizeRecorder.camRecorder.directory = Application.persistentDataPath + "/" + DateTime.Now.ToString("yyyy-MM-dd_HH-mm-ss"); synchronizeRecorder.camRecorder.StartRecording(); } SetProgressText("RECORDING", Color.yellow); SetInstructionText("PRESS '" + changeState + "' TO END RECORD", instructionColor); SetSavedPathsText (""); bug_report_state_ = BugReportState.RECORDING; }
private void ReadyTriggered() { handController.ResetRecording(); handController.StopRecording(); if (synchronizeRecorder != null && synchronizeRecorder.camRecorder != null) { synchronizeRecorder.m_hideInstructions = false; synchronizeRecorder.InterfaceEnabled = synchronizeRecorder.m_interfaceEnabled; synchronizeRecorder.showFrameTimeStamp = synchronizeRecorder.m_enableFrameTimeStamp; synchronizeRecorder.camRecorder.StopRecording(); } InterfaceEnabled = m_interfaceEnabled; progressStatus.fillAmount = 1.0f; SetProgressText("READY", Color.green); SetInstructionText("PRESS '" + unlockStart + "' + '" + changeState + "' TO START RECORDING", instructionColor); SetSavedPathsText (""); bug_report_state_ = BugReportState.READY; }
private void ReplayTriggered() { SetProgressText("REPLAYING", Color.yellow); SetInstructionText("PRESS '" + changeState + "' TO END REPLAY", instructionColor); bug_report_state_ = BugReportState.REPLAYING; }
private void ReadyTriggered() { handController.ResetRecording(); handController.StopRecording(); progressStatus.fillAmount = 1.0f; SetProgressText("READY", Color.green); SetInstructionText("PRESS '" + changeState + "' TO START RECORD", instructionColor); bug_report_state_ = BugReportState.READY; }