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
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
Move your audio listener from your camera to your player gameobject