public void Enter() { _index = _route.CycleIndex(_index); _navAgent.SetDestination(_route.GetNextPoint(_index)); _navAgent.stoppingDistance = 0.5f; }
public void Enter() { _index = _route.CycleIndex(_index); _navAgent.SetDestination(_route.GetNextPoint(_index)); _navAgent.stoppingDistance = 0.5f; }