public void StartMathMode() { _mathModeAmount = 1.0f; if (!_isMathMode) //just increment the timer { if (scoreBox.mathMode.amount == 0) { scoreBox.ResetBaseScore(); } _isMathMode = true; Go.killAllTweensWithTarget(scoreBox); Go.to(scoreBox.mathMode, 0.4f, new TweenConfig().floatProp("amount", 1.0f).setEaseType(EaseType.ExpoOut).onComplete(HandleMathModeOpenComplete)); FSoundManager.PlaySound("UI/MathOpen"); } }