//===================================================== #region State Activities private IEnumerator Initialising() { _animation.Spawn(); yield return(new WaitForSeconds(1.0f)); if (_thisAgent == null) { _thisAgent = _thisTransform.GetComponent <NavMeshAgent>(); } CurrentState = eEnemyState.GATHER; }