How To Add FOOTSTEP SOUNDS in 2 MINUTES | Unity 3D

preview_player
Показать описание

Also, thank you guys so much for 100 subs! :)
Рекомендации по теме
Комментарии
Автор

Thank you so much this is ao great. Yesterday I just wondered how to make exactly this and then your video came out 👌

alexj
Автор

If you set up a isWalking bool (or have) in your character controller this code would be much simpler.
Example:
-Reference the player in the inspector
public GameObject player;

void Update()
{

{
footsteps();
}
else
{
StopFootsteps();
}
}

wekiisha
Автор

Tank you, you make everything look esay

joseparedes
Автор

not sure about the script

if you press w and d for example, when you let go of d key, (Input.GetKeyUp("d")) the sound stops, but the walking doesn't.

habus_
Автор

can you make an update to it where it can have different steps?

PinkKid_YT
Автор

when i set it up my player dissapears and camera goes unavailable, any help ? i also have the camera inside the player parent

MrGacklekid
Автор

how to open door a with a key if you have a key?

netherite
Автор

i need some help, the footsteps script automatically disables itself when you start the game view.

hedcreb
Автор

MANNN ! That beat is sooo HOTT I Had to watch ...lol

PhillySlugga
Автор

69th subscriber btw

you are growing fast

lop
Автор

Just subscribed your channel. Thank you so much dear

onGoogle
Автор

I love how simple this is -- great solution! Thanks for sharing :)

KarmaiGames
Автор

Very helpful and simple I finally got sound in my hobby project

wycoturmoil
Автор

Cool I have been waiting on a video that teaches this. Great content. I know you can become the next brackays. Keep it up friend

geniusrealms
Автор

How to make the sound stop while jumping?

fifiverified
Автор

is there anyway to make this for sprinting as well?

staplerproductions
Автор

pls tutorial on how to throw something and let it stick

lop
Автор

is there anything i could add so it doesn't play the footstep sound effect while midair?

bgaming.
Автор

Simple and easy way to add footsteps sfx for games! Thank you! :)

AquaTwist_
Автор

optimised code:

void Update()
{
if (Input.GetKey("w") || Input.GetKey("a") || Input.GetKey("s") || Input.GetKey("d"))
{
footsteps();
}
else
{
StopFootsteps();
}

attestedatom