Example #1
0
 private void FixedUpdate()
 {
     if (IsSpawnPointFree && _movePathQueue.Count > 0)
     {
         MovePathParams movePathParams = _movePathQueue.Dequeue();
         _walkPath.SpawnOnePeople(
             _pathIndex, _isForward
             );
     }
 }
Example #2
0
 public void AddToSpawnQuery(MovePathParams movePathParams)
 {
     _movePathQueue.Enqueue(movePathParams);
 }