// Start is called before the first frame update void Start() { //inventaire slotB = GameObject.Find("slotB"); slotA = GameObject.Find("slotA"); textRuby = GameObject.Find("TextRuby").GetComponent <Text>(); textKey = GameObject.Find("TextKey").GetComponent <Text>(); textBomb = GameObject.Find("TextBomb").GetComponent <Text>(); animator = GetComponent <Animator>(); audioManager = FindObjectOfType <ScriptAudioManager>(); HealthBar(); }
void Start() { audioManager = FindObjectOfType <ScriptAudioManager>(); audioManager.Play("BossRoaring"); }