// Start is called before the first frame update void Awake() { instance = this; currentMenuState = MenuState.noMenu; currentTextSpeedState = textSpeedState.normal; currentSpeedIndicatorPosition = speedIndicator.GetComponent <RectTransform>(); currentSoundEffectIndicatorPosition = soundEffectIndicator.GetComponent <RectTransform>(); //sound effects are on by default soundEffectIndicatorTextObjects[0].fontStyle = FontStyles.Bold; }
public void PressNormalSpeed() { currentTextSpeedState = textSpeedState.normal; callClickSound(); }
public void PressFastSpeed() { currentTextSpeedState = textSpeedState.fast; callClickSound(); }
public void PressSlowSpeed() { currentTextSpeedState = textSpeedState.slow; callClickSound(); }