Hey I have two audio source components: punch hit audio, and a walking audio.
I have a movement script and I want to insert a specific audio variable for the walking audio:
** public AudioSource aSourceWalking;
void Start () {
aSourceWalking =
}
void Update() {
if (Input.GetKey("w"))
{
transform.Translate((Vector3.forward) * moveSpeed * Time.deltaTime);
aSourceWalking.Play();
}
Anybody? shiet…