// Update is called once per frame void FixedUpdate() { if (isActive) { currentState.UpdateState(this); } }