// Use this for initialization void Start() { script = bottle.GetComponent <bottle>(); wbarScript = wbar.GetComponent <WbarScript> (); storm_dmg = terrain1.GetComponent <storm> (); }
// Use this for initialization void Start() { script = bottle.GetComponent <bottle>(); //sto script bazoume to script tou bottle waterScript = water_bar.GetComponent <WbarScript> (); // sto waterscript bazoume to script apo thn mpara tou nerou }