// Update is called once per frame void Update() { switch (currentState) { case States.WANDER: _wander.CheckDestenation(); break; case States.ATTACK: break; case States.CHASE: _chase.ChaseNow(); break; } }