Sound Effects on Doors

I was in the Winter Company world and noticed when you go through the doors of the world. You get an open and close sound effect when you teleport into a different room. I have been trying to figure out how to do it in my world, but there isn’t any information on how to do it. Wonder if anybody can tell me how to do it. I’m using a teleport on touch not click to move the player. Be nice to have a sound effect happen when the player is teleported.

There a couple ways to do it. You can call play or playOneShot on an audio source, or you can enable audioSources that are play on awake within your door open and close animations. Those are two common ways to do it.

It’s a teleporter door. No animations on it. Just sends the player to another part of the map. Does Play or PlayOneShot work with teleporting players. Need the sound be heard by the player teleporting.

Play or PlayOneShot is going to be fired by the same action in your udon behavior that fires teleporting the player.