コード例 #1
0
ファイル: BarManager.cs プロジェクト: jnguye14/Climber
 // Use this for initialization
 void Start()
 {
     balance = this.GetComponent<BalanceSlider>();
     energy = this.GetComponent<Bar>();
     energy.setAmount(1.0f);
     Bar.EmptyEvent += OnEmpty;
 }