Ejemplo n.º 1
0
 public override void DoEffect(Vector3 effectLocation, LayerMask whichPlants, float chargeMult)
 {
     for (int i = 0; i < targetSolutions.Length; ++i)
     {
         foreach (WorldTile w in targetSolutions[i].GetTargets(effectLocation))
         {
             WorldTile objW = GridManager.instance.objectTiles[w.WorldLocation];
             objW.Water(waterAmount);
         }
     }
 }