Generation

generate functionMon, 05 Dec 2022

play sound sequientially with the cadence of the velocity of the object tagged as "Player"

public void PlaySound(int i) { audioSource.clip = audioClip[i]; audioSource.Play(); }

Want to kickstart your project?Use the new AI Studio to create your code