// Update is called once per frame void Update() { // 爆弾のカウントを格納 int count = bomb.Count(); // パネルのライフに反映 bombPanel.UpdateLife(count); }
// Update is called once per frame void Update() { //Text BombText = counter.GetComponent<Text>(); counter.text = "爆弾残数:" + bomb.Count().ToString(); }