private void setStoppedState(STOPPED_STATE newState) { if (futureStopState == newState) { return; } logStopState(newState); this.previousStopState = this.futureStopState; this.futureStopState = newState; }
private void logStopState(STOPPED_STATE newState) { Debug.Log("STOPPED_STATE : " + this.futureStopState + "-->" + newState); }