示例#1
0
文件: Starter.cs 项目: worntunic/UAI
 private void Awake()
 {
     mapGenerator.GenerateMap();
     _pathfinder = new Pathfinding();
     _pathfinder.AssignMap(mapGenerator.MapInfo);
     bunnySpawner.Init();
     drinkingWater.Init(_pathfinder.mapGrid);
     plants.Init(_pathfinder.mapGrid);
 }