Quantcast
Channel: Answers for "Footsteps?"
Browsing latest articles
Browse All 8 View Live

Answer by Seth-Bergman

you can't use WaitForSeconds in Update, because it's called every frame, but otherwise this should work, just remove that line.. but if you really want the pause, you can create a coroutine to call...

View Article


Answer by aldonaletto

You can't use *yield* inside Update or any other periodic routine (LateUpdate, FixedUpdate, OnGUI), but a very similar approach can work if started at Start (yes, Start can use *yield*!): var footsteps...

View Article


Answer by UnrealIzzy

**This script will do the job!** var Walk : AudioClip; function Update () { if (Input.GetKey("w") || Input.GetKey("a") || Input.GetKey("s") || Input.GetKey("d")) { if(!audio.isPlaying) // this line may...

View Article

Answer by DaveA

Just grab this asset: http://u3d.as/content/qlc/advanced-footstep-system/6o2

View Article
Browsing latest articles
Browse All 8 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>