Пример #1
0
 private void Start()
 {
     nodeDiameter = nodeRadius * 2;
     gridSizeX    = Mathf.RoundToInt(dungeonGrid.GetDungeonSize().min);
     gridSizeY    = Mathf.RoundToInt(dungeonGrid.GetDungeonSize().max);
     ConstructGrid();
     PlaceStart();
     PlaceHealthpacksInRooms();
     PlaceEnemiesInRooms();
 }