예제 #1
0
 public override void OnGenerateWater(TerrainGen terrain)
 {
     for (int x = 1; x < World.inst.GridWidth - 1; x++)
     {
         for (int y = 1; y < World.inst.GridHeight - 1; y++)
         {
             terrain.SetLandTile(x, y);
             Cell cell = World.inst.GetCellData(x, y);
             cell.Type = ResourceType.None;
         }
     }
 }