コード例 #1
0
 // Use this for initialization
 void Start()
 {
     script     = bottle.GetComponent <bottle>();
     wbarScript = wbar.GetComponent <WbarScript> ();
     storm_dmg  = terrain1.GetComponent <storm> ();
 }
コード例 #2
0
ファイル: oasi.cs プロジェクト: GiannisDr/AdventureHorrorGame
 // 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
 }