// Use this for initialization private void Start () { InputManager.WordFired += WordEventReceiver; mb = GetComponent<MeasureBar>(); movingAvg = new MovingAverage(5.0f,UpdateIntervall); }
// Use this for initialization void Start () { InputManager.WordFired += InputManager_WordFired; mb = GetComponent<MeasureBar>(); currentValue = StartingValue; StartCoroutine(MotivationDecay()); }