I like how you use game objects for each audio clip to simplify it and organize it.
@danielreeves4181
3 жыл бұрын
I never leave comments, but this tutorial was exceptional. Thank you very much!!!!!
@tbraun6289
4 жыл бұрын
This is great, thank you! I have a longer clip and am wondering if there's some way to pause the sound by hitting a different key?
@ArjunSingh-wc2jf
3 жыл бұрын
this helped me a lot im gonna subscribe thank you!
@blissofkundalini
4 жыл бұрын
Works perfectly! Thank you!
@hatdogngnanaymo2893
3 жыл бұрын
That helped so muchhh Thank youuuuuuuuuuu
@olsbol9253
4 жыл бұрын
Thx for this
@PolskiDev
4 жыл бұрын
ok so i need help when i try to loop only when i HOLD the key but it keeps playing when i stand still HELP
@epical1736
3 жыл бұрын
I know it's probably too late but you can do something with stopping the sound when the key is released.
@zbob8991
3 жыл бұрын
@@epical1736 how do you do that, 9 months later I have the same question lol
@skeletonbuilder3484
Жыл бұрын
how i can make the sounds start Serially
@hatdogngnanaymo2893
3 жыл бұрын
This is so helpful bro, imma subscribe
@SunchippStudio
6 ай бұрын
i don't have input options in the project settings..actually there's no options at all. all I want to do is add a car horn but NO BODY has what I am looking for...who would've thought that something so simple ISN'T online
@dannydelgado3095
4 жыл бұрын
Do you know how to not have multiple sounds play when pressing the same key?
@chesteeer
2 жыл бұрын
how can i change the key to be F and not 1?
@SandraCoyle
3 жыл бұрын
Thanks for the video, i have a question, how do I do it with the Arrows keys? :)
@JimmyVegasUnity
3 жыл бұрын
you can use Input.GetKeyDown(KeyCode.UpArrow)) - just replace Up with either Left, Right or Down depending on what key you want to use
@SandraCoyle
3 жыл бұрын
@@JimmyVegasUnity Hey Jimmy, i have done that, but the w,a,s,d are working, but not the 4 arrows keys ? :)
@SandraCoyle
3 жыл бұрын
I made it, thank you so much, there was just a spelling error :P
@sir_southpaw5456
4 жыл бұрын
i tried doing this for a rolling SFX, every ti,e i press Left Shift it crashes the game. i have the Audio Source and Listener under my main camera. could it be something in my script? I'm nor getting any error in the console using System.Collections; using System.Collections.Generic; using UnityEngine; public class RollSFX : MonoBehaviour { public AudioSource[] soundFX; void Update() { if (Input.GetButtonDown("Roll")) soundFX[0].Play(); } }
@nightyysleeps
3 жыл бұрын
is ur sound very big?
@Alexander-ij5vz
4 жыл бұрын
how can I play a sound on an object with a mouse click? I think that was with local.position or anything. Also if the object change the position, it would worth, too.
@cyberninja3087
4 жыл бұрын
you could do like if(Input.GetMouseButtonDown(0)){ Sound.Play() }
@Alexander-ij5vz
4 жыл бұрын
@@cyberninja3087 thank you mate
@nightyysleeps
3 жыл бұрын
just keeps looping
@JimmyVegasUnity
3 жыл бұрын
Untick the loop tickbox on the component
@frogmasto
2 жыл бұрын
i'm not the only one that read SFX wrong right? :p
Пікірлер: 28