Beispiel #1
0
 private void FixedUpdate()
 {
     if (Vector3.Distance(player.GetPosition(), lastEndPoint) < SPAWN_DISTANCE)
     {
         generateNewPart();
     }
 }