void Start() { attackScript = GetComponent<InterfaceZombieAttack>(); spitZombieState = stateSZ.sensedPlayerNearby; newRoamingPosition = Vector3.zero; }
// Start is called before the first frame update void Start() { attackScript = GetComponent <InterfaceZombieAttack>(); spitZombieState = stateSZ.sensedPlayerNearby; hasReachedPatrolPoint = false; if (nextPatrolPoint == null) { nextPatrolPoint = patrolPoints[0]; } }