// Healing State
 private IEnumerator State_Healing()
 {
     // Returning the speed of the agent to the selected one.
     _Agent.speed = _AgentNormalSpeed;
     while (GetHealth() < GetMaxHealth())
     {
         yield return(null);
     }
     // When the Health is equal to MaxHealth, the state will return to Idle
     _TargetHealpost = null;
     SetState(State_Idle());
 }
    private void LookForHealPost()
    {
        // Gets the first and only healpost
        var healPost = Healpost.HealpostList[0];

        if (healPost != null)
        {
            // Assign the healpost to the _targetHealPost
            _TargetHealpost = healPost;
        }
        else
        {
            return;
        }
    }