public void OnEnter() { _navMeshAgent.enabled = true; _gatherer.DropAllResources(); _animator.SetBool(FleeHash, true); _initialSpeed = _navMeshAgent.speed; _navMeshAgent.speed = FLEE_SPEED; _particleSystem.Play(); }
public void OnEnter() { _navMeshAgent.enabled = true; _gatherer.DropAllResources(); _animator.SetBool(FleeHash, true); _initialSpeed = _navMeshAgent.speed; _navMeshAgent.speed = FLEE_SPEED; _particleSystem.Play(); }