void AIFindPlayer()
 {
     if (navAgent.velocity.magnitude > 0)
     {
         if (isRunning || navAgent.velocity.y > 0)
         {
             animator.SetBool("Walk", false);
             animator.SetBool("Run", true);
         }
         else
         {
             animator.SetBool("Walk", true);
             animator.SetBool("Run", false);
         }
     }
     else
     {
         animator.SetBool("Walk", false);
         animator.SetBool("Run", false);
     }
     distanceFromPlayer = targetPlayer.transform.position - launcher.getWorldSpawnLocation();
     if (distanceFromPlayer.magnitude <= aggroDistanceAI)
     {
         navAgent.SetDestination(targetPlayer.transform.position);
         playerInRange = distanceFromPlayer.magnitude <= maxShotDistanceAI;
     }
 }