Esempio n. 1
0
 //Updates the local variables storing the mobs (known) location and the target's modified location.
 //These are only updated between skitter cycles to reduce accuracy and make it more bug-like.
 private void UpdateLocation()
 {
     location = transform.position;
     if (targetScatter > 0)
     {
         targetLocation = SeekingUtilities.Scatter(ControllerPlayer.PlayerLocation, targetScatter, targetScatter);
     }
 }