public void Click() { WaterBar water = GameObject.FindWithTag("Player").GetComponent <WaterBar>(); water.AddWater(addAmount * Time.deltaTime); }
private void Water() { isWatering = true; plant.AddWater(waterGain); StartCoroutine(boy.WaterRoutine()); }