private void Awake() { musicIndex = 0; zero = true; stoped = true; hiddingSound = GetComponents <LightAudioManager>()[0]; grosseKali = GetComponents <LightAudioManager>()[1]; timeToWait = Random.Range(-hiddingSoundSpacingSpread, hiddingSoundSpacingSpread) + hiddingSoundAverageSpacing; }
void Awake() { anim = GetComponent <Animation>(); manette = GetComponent <GestionManette>(); lightAudioManager = GetComponent <LightAudioManager>(); }