// Update is called once per frame
 void Update()
 {
     if (fa.paused)
     {
         return;
     }
     PF.CalcAllPaths();
     if (FPSPlayer != null)
     {
         playerPos = FPSPlayer.transform.position;
     }
 }