Beispiel #1
0
    public bool fightingBoss = false;     //Checks if the player is fighting the boss

    // Use this for initialization
    void Start()
    {
        audControl          = this;
        backgroundSource    = GameObject.Find("CameraChild").GetComponent <AudioSource>();
        combatSource        = GameObject.Find("CombatMusic").GetComponent <AudioSource>();
        combatSource.volume = 0;
    }
 // Use this for initialization
 void Start()
 {
     audControl = this;
     backgroundSource = GameObject.Find("CameraChild").GetComponent<AudioSource>();
     combatSource = GameObject.Find("CombatMusic").GetComponent<AudioSource>();
     combatSource.volume = 0;
 }