public override RUISCalibrationPhase PreparationPhase(float deltaTime) { this.guiTextLowerLocal = "Step in front of the camera."; if (kinectSelection.GetNumberOfSelectedPlayers() >= 1) { return(RUISCalibrationPhase.ReadyToCalibrate); } else { return(RUISCalibrationPhase.Preparation); } }
private void DoWaitingForSkeleton() { statusText.text = "Step inside the area"; if (kinectSelection.GetNumberOfSelectedPlayers() >= 1) { if (usePSMove) { currentState = State.WaitingForMovePress; } else { currentState = State.CalibratingWithoutMove; } } }