// Update is called once per frame void FixedUpdate() { if (levelManager.playLevel && enableFSMControl) { currentState.Active(); } }