예제 #1
0
        /// <summary>
        /// Toggles the state of the camera button in toolbar when clicked
        /// </summary>
        public void OnRobotCameraButtonClicked()
        {
            robotCameraGUI.ToggleCameraWindow();

            AnalyticsManager.GlobalInstance.LogEventAsync(AnalyticsLedger.EventCatagory.SensorTab,
                                                          AnalyticsLedger.EventAction.Clicked,
                                                          "Robot Camera",
                                                          AnalyticsLedger.getMilliseconds().ToString());
        }
예제 #2
0
 /// <summary>
 /// Toggles the state of the camera button in toolbar when clicked
 /// </summary>
 public void OnRobotCameraButtonPressed()
 {
     robotCameraGUI.ToggleCameraWindow();
 }