void Start() { poof = SoundM.CreateSoundInstance("Poof"); transition = SoundM.CreateSoundInstance("Transition"); InvokeRepeating("decreaseMissCounter", 2, 6); }
void Start() { trainMetronome = SoundM.CreateSoundInstance("TrainMetronome", transform, GetComponent <Rigidbody>()); rhythm = SoundM.CreateSoundInstance("Forest", transform, GetComponent <Rigidbody>()); SoundM.PlaySound(trainMetronome); SoundM.PlaySound(rhythm); SoundM.SetSoundParameter("TrackVolume", 1); }