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