diff --git a/Packages/com.varneon.vudon.simple-player-settings/Runtime/Prefabs/SimplePlayerSettings.prefab b/Packages/com.varneon.vudon.simple-player-settings/Runtime/Prefabs/SimplePlayerSettings.prefab index 67f7324..89c93e5 100644 --- a/Packages/com.varneon.vudon.simple-player-settings/Runtime/Prefabs/SimplePlayerSettings.prefab +++ b/Packages/com.varneon.vudon.simple-player-settings/Runtime/Prefabs/SimplePlayerSettings.prefab @@ -25,12 +25,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 6719805310668053699} + serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &6719805310668053693 MonoBehaviour: @@ -59,13 +60,15 @@ MonoBehaviour: strafeSpeed: 2 jumpImpulse: 3 gravityStrength: 1 + overridePlayerVoices: 1 voiceGain: 15 voiceDistanceNear: 0 voiceDistanceFar: 25 voiceVolumetricRadius: 0 voiceLowpass: 1 + overrideAvatarAudio: 1 avatarAudioGain: 10 - avatarAudioNearRadius: 40 + avatarAudioNearRadius: 0 avatarAudioFarRadius: 40 avatarAudioVolumetricRadius: 0 avatarAudioForceSpatial: 0 diff --git a/Packages/com.varneon.vudon.simple-player-settings/Runtime/Udon Programs/SimplePlayerSettings.cs b/Packages/com.varneon.vudon.simple-player-settings/Runtime/Udon Programs/SimplePlayerSettings.cs index 037ed0d..8546ac3 100644 --- a/Packages/com.varneon.vudon.simple-player-settings/Runtime/Udon Programs/SimplePlayerSettings.cs +++ b/Packages/com.varneon.vudon.simple-player-settings/Runtime/Udon Programs/SimplePlayerSettings.cs @@ -136,7 +136,7 @@ public class SimplePlayerSettings : UdonSharpBehaviour [FieldDisable(nameof(overrideAvatarAudio))] [Tooltip("In Meters, Range is not limited\n\nThis sets the maximum start of the range for hearing the avatar's audio. You can lower this to make another player's avatar not travel as far, all the way to 0 to effectively 'mute' the player. Note that this is compared to the audio source's minDistance, and the smaller value is used.")] [FieldLabel("Near Radius")] - private float avatarAudioNearRadius = 40f; + private float avatarAudioNearRadius = 0f; /// ///