- Home /
3d Sound when the player near and not the camera?
I would like to do that when my player gameobject is near to enemy gameobject hear a sound. And not when the camera near to a enemy gameobject.
How can i achieve that? thanks :)
Comment
Answer by ecv80 · Dec 09, 2018 at 10:26 AM
Move your audio listener from your camera to your player gameobject
Your answer
Follow this Question
Related Questions
How to make a camcorder show things that don't show normally 0 Answers
3d Sound not working? 0 Answers
How to set the player in front of the camera in any rotation 1 Answer
swap between 3 gameobjects mid game 0 Answers
DontDestroyOnLoad() Unity 3D 0 Answers