Beispiel #1
0
 private void Start()
 {
     UpdateScore();
     remainingLives      = startingLives;
     remainingEnemyCount = enemyCountPerWave;
     sc = Soundcontroller.FindSoundController();
 }
Beispiel #2
0
    Soundcontroller soucon;                   //宣言

    void Start()
    {
        GameObject gg_box = GameObject.Find("soundcontroller");

        soucon        = gg_box.GetComponent <Soundcontroller>();
        audioSource01 = gg_soundbox01.GetComponent <AudioSource>();
        audioSource02 = gg_soundbox02.GetComponent <AudioSource>();
    }
Beispiel #3
0
 private void Start()
 {
     UpdateScore();
     remainingLives = startingLives;
     sc             = Soundcontroller.FindSoundController();
 }