protected void SucceedFeedback(string message, GameObject feedback, string challengeName = null) { PrepareFeedback(message, feedback, new Color32(90, 174, 122, 212)); enumPan.ResetRunningState(); playerCMDNo = -1; playerState = RunningState.Inactive; if (challengeName != null) { StartCoroutine(ToNextChallenge(challengeName)); } }
protected void SucceedFeedback(string message, GameObject feedback, string challengeName) { PrepareFeedback(message, feedback, new Color32(90, 174, 122, 212)); enumPan.ResetRunningState(); playerState = RunningState.Inactive; debugPan.SetDebugButtonActive(ButtonCode.Run, false); debugPan.SetDebugButtonActive(ButtonCode.Stop, false); debugPan.SetDebugButtonActive(ButtonCode.Back, false); debugPan.SetDebugButtonActive(ButtonCode.Step, false); StartCoroutine(ToNextChallenge(challengeName)); }