Ejemplo n.º 1
0
 void SwitchToWaitingForSelection()
 {
     m_state = QuickCalibrationState.WaitingForSelection;
     PilloController.SaveCalibrationValues();
     timer         = 0.0f;
     infoText.text = "Press the Pillo you want to calibrate";
 }
Ejemplo n.º 2
0
 void StartCountdown()
 {
     m_state = QuickCalibrationState.CountdownToCalibration;
     timer = 0.0f;
 }
Ejemplo n.º 3
0
 void SwitchToWaitingForSelection()
 {
     m_state = QuickCalibrationState.WaitingForSelection;
     PilloController.SaveCalibrationValues ();
     timer = 0.0f;
     infoText.text = "Press the Pillo you want to calibrate";
 }
Ejemplo n.º 4
0
 void SwitchToMinimumCalibration()
 {
     m_state = QuickCalibrationState.CalibratingMinimum;
     timer = 0.0f;
     infoText.text = "Let go of Pillo " + (selectedPillo + 1).ToString () + " now!";
 }
Ejemplo n.º 5
0
 void SwitchToMaximumCalibration()
 {
     m_state = QuickCalibrationState.CalibratingMaximum;
     timer = 0.0f;
     infoText.text = "Keep holding Pillo " + (selectedPillo + 1).ToString () + " as tight as possible!";
 }
Ejemplo n.º 6
0
 void SwitchToCalibrationComplete()
 {
     m_state = QuickCalibrationState.CalibrationComplete;
     timer = 0.0f;
     infoText.text = "Pillo " + (selectedPillo + 1).ToString () + " is calibrated, well done!";
 }
Ejemplo n.º 7
0
 void SwitchToMaximumCalibration()
 {
     m_state       = QuickCalibrationState.CalibratingMaximum;
     timer         = 0.0f;
     infoText.text = "Keep holding Pillo " + (selectedPillo + 1).ToString() + " as tight as possible!";
 }
Ejemplo n.º 8
0
 void StartCountdown()
 {
     m_state = QuickCalibrationState.CountdownToCalibration;
     timer   = 0.0f;
 }
Ejemplo n.º 9
0
 void SwitchToCalibrationComplete()
 {
     m_state       = QuickCalibrationState.CalibrationComplete;
     timer         = 0.0f;
     infoText.text = "Pillo " + (selectedPillo + 1).ToString() + " is calibrated, well done!";
 }
Ejemplo n.º 10
0
 void SwitchToMinimumCalibration()
 {
     m_state       = QuickCalibrationState.CalibratingMinimum;
     timer         = 0.0f;
     infoText.text = "Let go of Pillo " + (selectedPillo + 1).ToString() + " now!";
 }