From 3175f7d4d701ac161fec59cca56306dceaa21ee2 Mon Sep 17 00:00:00 2001 From: Guribo Date: Sat, 19 Dec 2020 17:55:52 +0100 Subject: [PATCH] feat: experimental player exclusion list --- Scenes/UdonBetterPlayerAudio.unity | 2 +- Scripts/BetterPlayerAudio.asset | 747 ++++++++++++++++++----------- Scripts/BetterPlayerAudio.cs | 191 +++++++- 3 files changed, 649 insertions(+), 291 deletions(-) diff --git a/Scenes/UdonBetterPlayerAudio.unity b/Scenes/UdonBetterPlayerAudio.unity index f8e7060..2b404f9 100644 --- a/Scenes/UdonBetterPlayerAudio.unity +++ b/Scenes/UdonBetterPlayerAudio.unity @@ -1120,7 +1120,7 @@ MonoBehaviour: m_EditorClassIdentifier: launchedFromSDKPipeline: 0 completedSDKPipeline: 0 - blueprintId: wrld_13ec2a84-69e6-44c3-ab4a-9e2a5db9d07e + blueprintId: contentType: 1 assetBundleUnityVersion: --- !u!114 &1835737721 diff --git a/Scripts/BetterPlayerAudio.asset b/Scripts/BetterPlayerAudio.asset index afb7f83..d8c8142 100644 --- a/Scripts/BetterPlayerAudio.asset +++ b/Scripts/BetterPlayerAudio.asset @@ -42,13 +42,13 @@ MonoBehaviour: Data: - Name: Entry: 12 - Data: 54 + Data: 57 - Name: Entry: 7 Data: - Name: $k Entry: 1 - Data: uiController + Data: EnvironmentLayerMask - Name: $v Entry: 7 Data: 2|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor @@ -58,6 +58,126 @@ MonoBehaviour: - Name: internalType Entry: 7 Data: 4|System.RuntimeType, mscorlib + - Name: + Entry: 1 + Data: System.Int32, mscorlib + - Name: + Entry: 8 + Data: + - Name: declarationType + Entry: 3 + Data: 258 + - Name: syncMode + Entry: 3 + Data: 0 + - Name: symbolResolvedTypeName + Entry: 1 + Data: SystemInt32 + - Name: symbolOriginalName + Entry: 1 + Data: EnvironmentLayerMask + - Name: symbolUniqueName + Entry: 1 + Data: EnvironmentLayerMask + - Name: symbolDefaultValue + Entry: 6 + Data: + - Name: + Entry: 8 + Data: + - Name: fieldAttributes + Entry: 7 + Data: 5|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + - Name: + Entry: 12 + Data: 0 + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: userBehaviourSource + Entry: 6 + Data: + - Name: + Entry: 8 + Data: + - Name: + Entry: 8 + Data: + - Name: + Entry: 7 + Data: + - Name: $k + Entry: 1 + Data: UILayerMask + - Name: $v + Entry: 7 + Data: 6|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + - Name: fieldSymbol + Entry: 7 + Data: 7|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + - Name: internalType + Entry: 9 + Data: 4 + - Name: declarationType + Entry: 3 + Data: 258 + - Name: syncMode + Entry: 3 + Data: 0 + - Name: symbolResolvedTypeName + Entry: 1 + Data: SystemInt32 + - Name: symbolOriginalName + Entry: 1 + Data: UILayerMask + - Name: symbolUniqueName + Entry: 1 + Data: UILayerMask + - Name: symbolDefaultValue + Entry: 6 + Data: + - Name: + Entry: 8 + Data: + - Name: fieldAttributes + Entry: 7 + Data: 8|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + - Name: + Entry: 12 + Data: 0 + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: userBehaviourSource + Entry: 6 + Data: + - Name: + Entry: 8 + Data: + - Name: + Entry: 8 + Data: + - Name: + Entry: 7 + Data: + - Name: $k + Entry: 1 + Data: uiController + - Name: $v + Entry: 7 + Data: 9|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + - Name: fieldSymbol + Entry: 7 + Data: 10|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + - Name: internalType + Entry: 7 + Data: 11|System.RuntimeType, mscorlib - Name: Entry: 1 Data: VRC.Udon.UdonBehaviour, VRC.Udon @@ -87,13 +207,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 5|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 12|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 2 - Name: Entry: 7 - Data: 6|UnityEngine.HeaderAttribute, UnityEngine.CoreModule + Data: 13|UnityEngine.HeaderAttribute, UnityEngine.CoreModule - Name: header Entry: 1 Data: General Settings @@ -102,7 +222,7 @@ MonoBehaviour: Data: - Name: Entry: 7 - Data: 7|UnityEngine.SerializeField, UnityEngine.CoreModule + Data: 14|UnityEngine.SerializeField, UnityEngine.CoreModule - Name: Entry: 8 Data: @@ -129,19 +249,13 @@ MonoBehaviour: Data: playerUpdateRate - Name: $v Entry: 7 - Data: 8|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 15|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 9|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 16|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType - Entry: 7 - Data: 10|System.RuntimeType, mscorlib - - Name: - Entry: 1 - Data: System.Int32, mscorlib - - Name: - Entry: 8 - Data: + Entry: 9 + Data: 4 - Name: declarationType Entry: 3 Data: 1 @@ -165,13 +279,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 11|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 17|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 2 - Name: Entry: 7 - Data: 12|UnityEngine.TooltipAttribute, UnityEngine.CoreModule + Data: 18|UnityEngine.TooltipAttribute, UnityEngine.CoreModule - Name: tooltip Entry: 1 Data: 'How many player updates should be performed every second (framerate independent). @@ -182,7 +296,7 @@ MonoBehaviour: Data: - Name: Entry: 7 - Data: 13|UnityEngine.SerializeField, UnityEngine.CoreModule + Data: 19|UnityEngine.SerializeField, UnityEngine.CoreModule - Name: Entry: 8 Data: @@ -209,13 +323,13 @@ MonoBehaviour: Data: updateUiEventName - Name: $v Entry: 7 - Data: 14|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 20|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 15|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 21|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 7 - Data: 16|System.RuntimeType, mscorlib + Data: 22|System.RuntimeType, mscorlib - Name: Entry: 1 Data: System.String, mscorlib @@ -245,13 +359,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 17|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 23|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 2 - Name: Entry: 7 - Data: 18|UnityEngine.TooltipAttribute, UnityEngine.CoreModule + Data: 24|UnityEngine.TooltipAttribute, UnityEngine.CoreModule - Name: tooltip Entry: 1 Data: The name of the function in the UI controller script that should be called @@ -261,7 +375,7 @@ MonoBehaviour: Data: - Name: Entry: 7 - Data: 19|UnityEngine.SerializeField, UnityEngine.CoreModule + Data: 25|UnityEngine.SerializeField, UnityEngine.CoreModule - Name: Entry: 8 Data: @@ -288,13 +402,13 @@ MonoBehaviour: Data: occlusionMask - Name: $v Entry: 7 - Data: 20|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 26|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 21|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 27|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 7 - Data: 22|System.RuntimeType, mscorlib + Data: 28|System.RuntimeType, mscorlib - Name: Entry: 1 Data: UnityEngine.LayerMask, UnityEngine.CoreModule @@ -324,13 +438,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 23|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 29|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 24|UnityEngine.TooltipAttribute, UnityEngine.CoreModule + Data: 30|UnityEngine.TooltipAttribute, UnityEngine.CoreModule - Name: tooltip Entry: 1 Data: Objects on these layers reduce the voice/avatar sound volume when they @@ -361,13 +475,13 @@ MonoBehaviour: Data: defaultAllowMasterControl - Name: $v Entry: 7 - Data: 25|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 31|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 26|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 32|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 7 - Data: 27|System.RuntimeType, mscorlib + Data: 33|System.RuntimeType, mscorlib - Name: Entry: 1 Data: System.Boolean, mscorlib @@ -397,13 +511,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 28|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 34|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 29|UnityEngine.TooltipAttribute, UnityEngine.CoreModule + Data: 35|UnityEngine.TooltipAttribute, UnityEngine.CoreModule - Name: tooltip Entry: 1 Data: When enabled the master can change the settings of all players @@ -433,13 +547,13 @@ MonoBehaviour: Data: defaultOcclusionFactor - Name: $v Entry: 7 - Data: 30|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 36|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 31|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 37|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 7 - Data: 32|System.RuntimeType, mscorlib + Data: 38|System.RuntimeType, mscorlib - Name: Entry: 1 Data: System.Single, mscorlib @@ -469,13 +583,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 33|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 39|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 2 - Name: Entry: 7 - Data: 34|UnityEngine.RangeAttribute, UnityEngine.CoreModule + Data: 40|UnityEngine.RangeAttribute, UnityEngine.CoreModule - Name: min Entry: 4 Data: 0 @@ -487,7 +601,7 @@ MonoBehaviour: Data: - Name: Entry: 7 - Data: 35|UnityEngine.TooltipAttribute, UnityEngine.CoreModule + Data: 41|UnityEngine.TooltipAttribute, UnityEngine.CoreModule - Name: tooltip Entry: 1 Data: A value of 1.0 means occlusion is off. A value of 0 will reduce the max. @@ -519,13 +633,13 @@ MonoBehaviour: Data: defaultListenerDirectionality - Name: $v Entry: 7 - Data: 36|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 42|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 37|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 43|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 1 @@ -549,13 +663,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 38|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 44|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 2 - Name: Entry: 7 - Data: 39|UnityEngine.RangeAttribute, UnityEngine.CoreModule + Data: 45|UnityEngine.RangeAttribute, UnityEngine.CoreModule - Name: min Entry: 4 Data: 0 @@ -567,7 +681,7 @@ MonoBehaviour: Data: - Name: Entry: 7 - Data: 40|UnityEngine.TooltipAttribute, UnityEngine.CoreModule + Data: 46|UnityEngine.TooltipAttribute, UnityEngine.CoreModule - Name: tooltip Entry: 1 Data: A value of 1.0 reduces the ranges by up to 100% when the listener is facing @@ -598,13 +712,13 @@ MonoBehaviour: Data: defaultPlayerDirectionality - Name: $v Entry: 7 - Data: 41|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 47|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 42|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 48|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 1 @@ -628,13 +742,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 43|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 49|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 2 - Name: Entry: 7 - Data: 44|UnityEngine.RangeAttribute, UnityEngine.CoreModule + Data: 50|UnityEngine.RangeAttribute, UnityEngine.CoreModule - Name: min Entry: 4 Data: 0 @@ -646,7 +760,7 @@ MonoBehaviour: Data: - Name: Entry: 7 - Data: 45|UnityEngine.TooltipAttribute, UnityEngine.CoreModule + Data: 51|UnityEngine.TooltipAttribute, UnityEngine.CoreModule - Name: tooltip Entry: 1 Data: A value of 1.0 reduces the ranges by up to 100% when someone is speaking/playing @@ -677,13 +791,13 @@ MonoBehaviour: Data: defaultEnableVoiceLowpass - Name: $v Entry: 7 - Data: 46|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 52|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 47|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 53|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 27 + Data: 33 - Name: declarationType Entry: 3 Data: 1 @@ -707,13 +821,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 48|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 54|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 49|UnityEngine.HeaderAttribute, UnityEngine.CoreModule + Data: 55|UnityEngine.HeaderAttribute, UnityEngine.CoreModule - Name: header Entry: 1 Data: Voice Settings @@ -743,13 +857,13 @@ MonoBehaviour: Data: defaultVoiceDistanceNear - Name: $v Entry: 7 - Data: 50|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 56|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 51|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 57|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 1 @@ -773,13 +887,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 52|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 58|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 53|UnityEngine.RangeAttribute, UnityEngine.CoreModule + Data: 59|UnityEngine.RangeAttribute, UnityEngine.CoreModule - Name: min Entry: 4 Data: 0 @@ -812,13 +926,13 @@ MonoBehaviour: Data: defaultVoiceDistanceFar - Name: $v Entry: 7 - Data: 54|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 60|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 55|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 61|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 1 @@ -842,13 +956,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 56|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 62|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 57|UnityEngine.RangeAttribute, UnityEngine.CoreModule + Data: 63|UnityEngine.RangeAttribute, UnityEngine.CoreModule - Name: min Entry: 4 Data: 0 @@ -881,13 +995,13 @@ MonoBehaviour: Data: defaultVoiceGain - Name: $v Entry: 7 - Data: 58|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 64|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 59|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 65|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 1 @@ -911,13 +1025,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 60|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 66|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 61|UnityEngine.RangeAttribute, UnityEngine.CoreModule + Data: 67|UnityEngine.RangeAttribute, UnityEngine.CoreModule - Name: min Entry: 4 Data: 0 @@ -950,13 +1064,13 @@ MonoBehaviour: Data: defaultVoiceVolumetricRadius - Name: $v Entry: 7 - Data: 62|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 68|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 63|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 69|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 1 @@ -980,13 +1094,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 64|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 70|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 65|UnityEngine.RangeAttribute, UnityEngine.CoreModule + Data: 71|UnityEngine.RangeAttribute, UnityEngine.CoreModule - Name: min Entry: 4 Data: 0 @@ -1019,13 +1133,13 @@ MonoBehaviour: Data: defaultForceAvatarSpatialAudio - Name: $v Entry: 7 - Data: 66|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 72|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 67|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 73|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 27 + Data: 33 - Name: declarationType Entry: 3 Data: 1 @@ -1049,13 +1163,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 68|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 74|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 69|UnityEngine.HeaderAttribute, UnityEngine.CoreModule + Data: 75|UnityEngine.HeaderAttribute, UnityEngine.CoreModule - Name: header Entry: 1 Data: Avatar Settings @@ -1085,13 +1199,13 @@ MonoBehaviour: Data: defaultAllowAvatarCustomAudioCurves - Name: $v Entry: 7 - Data: 70|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 76|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 71|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 77|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 27 + Data: 33 - Name: declarationType Entry: 3 Data: 1 @@ -1115,7 +1229,7 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 72|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 78|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 0 @@ -1142,13 +1256,13 @@ MonoBehaviour: Data: defaultAvatarNearRadius - Name: $v Entry: 7 - Data: 73|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 79|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 74|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 80|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 1 @@ -1172,7 +1286,7 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 75|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 81|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 0 @@ -1199,13 +1313,13 @@ MonoBehaviour: Data: defaultAvatarFarRadius - Name: $v Entry: 7 - Data: 76|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 82|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 77|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 83|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 1 @@ -1229,7 +1343,7 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 78|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 84|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 0 @@ -1256,13 +1370,13 @@ MonoBehaviour: Data: defaultAvatarGain - Name: $v Entry: 7 - Data: 79|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 85|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 80|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 86|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 1 @@ -1286,13 +1400,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 81|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 87|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 82|UnityEngine.RangeAttribute, UnityEngine.CoreModule + Data: 88|UnityEngine.RangeAttribute, UnityEngine.CoreModule - Name: min Entry: 4 Data: 0 @@ -1325,13 +1439,13 @@ MonoBehaviour: Data: defaultAvatarVolumetricRadius - Name: $v Entry: 7 - Data: 83|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 89|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 84|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 90|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 1 @@ -1355,7 +1469,7 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 85|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 91|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 0 @@ -1382,13 +1496,13 @@ MonoBehaviour: Data: _allowMasterControl - Name: $v Entry: 7 - Data: 86|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 92|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 87|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 93|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 27 + Data: 33 - Name: declarationType Entry: 3 Data: 2 @@ -1412,7 +1526,7 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 88|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 94|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 0 @@ -1439,13 +1553,13 @@ MonoBehaviour: Data: OcclusionFactor - Name: $v Entry: 7 - Data: 89|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 95|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 90|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 96|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 2 @@ -1469,13 +1583,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 91|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 97|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 92|System.NonSerializedAttribute, mscorlib + Data: 98|System.NonSerializedAttribute, mscorlib - Name: Entry: 8 Data: @@ -1502,13 +1616,13 @@ MonoBehaviour: Data: ListenerDirectionality - Name: $v Entry: 7 - Data: 93|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 99|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 94|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 100|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 2 @@ -1532,13 +1646,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 95|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 101|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 96|System.NonSerializedAttribute, mscorlib + Data: 102|System.NonSerializedAttribute, mscorlib - Name: Entry: 8 Data: @@ -1565,13 +1679,13 @@ MonoBehaviour: Data: PlayerDirectionality - Name: $v Entry: 7 - Data: 97|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 103|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 98|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 104|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 2 @@ -1595,13 +1709,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 99|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 105|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 100|System.NonSerializedAttribute, mscorlib + Data: 106|System.NonSerializedAttribute, mscorlib - Name: Entry: 8 Data: @@ -1628,13 +1742,13 @@ MonoBehaviour: Data: EnableVoiceLowpass - Name: $v Entry: 7 - Data: 101|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 107|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 102|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 108|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 27 + Data: 33 - Name: declarationType Entry: 3 Data: 2 @@ -1658,13 +1772,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 103|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 109|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 104|System.NonSerializedAttribute, mscorlib + Data: 110|System.NonSerializedAttribute, mscorlib - Name: Entry: 8 Data: @@ -1691,13 +1805,13 @@ MonoBehaviour: Data: TargetVoiceDistanceNear - Name: $v Entry: 7 - Data: 105|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 111|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 106|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 112|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 2 @@ -1721,13 +1835,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 107|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 113|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 108|System.NonSerializedAttribute, mscorlib + Data: 114|System.NonSerializedAttribute, mscorlib - Name: Entry: 8 Data: @@ -1754,13 +1868,13 @@ MonoBehaviour: Data: TargetVoiceDistanceFar - Name: $v Entry: 7 - Data: 109|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 115|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 110|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 116|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 2 @@ -1784,13 +1898,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 111|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 117|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 112|System.NonSerializedAttribute, mscorlib + Data: 118|System.NonSerializedAttribute, mscorlib - Name: Entry: 8 Data: @@ -1817,13 +1931,13 @@ MonoBehaviour: Data: TargetVoiceGain - Name: $v Entry: 7 - Data: 113|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 119|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 114|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 120|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 2 @@ -1847,13 +1961,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 115|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 121|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 116|System.NonSerializedAttribute, mscorlib + Data: 122|System.NonSerializedAttribute, mscorlib - Name: Entry: 8 Data: @@ -1880,13 +1994,13 @@ MonoBehaviour: Data: TargetVoiceVolumetricRadius - Name: $v Entry: 7 - Data: 117|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 123|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 118|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 124|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 2 @@ -1910,13 +2024,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 119|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 125|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 120|System.NonSerializedAttribute, mscorlib + Data: 126|System.NonSerializedAttribute, mscorlib - Name: Entry: 8 Data: @@ -1943,13 +2057,13 @@ MonoBehaviour: Data: ForceAvatarSpatialAudio - Name: $v Entry: 7 - Data: 121|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 127|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 122|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 128|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 27 + Data: 33 - Name: declarationType Entry: 3 Data: 2 @@ -1973,13 +2087,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 123|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 129|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 124|System.NonSerializedAttribute, mscorlib + Data: 130|System.NonSerializedAttribute, mscorlib - Name: Entry: 8 Data: @@ -2006,13 +2120,13 @@ MonoBehaviour: Data: AllowAvatarCustomAudioCurves - Name: $v Entry: 7 - Data: 125|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 131|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 126|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 132|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 27 + Data: 33 - Name: declarationType Entry: 3 Data: 2 @@ -2036,13 +2150,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 127|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 133|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 128|System.NonSerializedAttribute, mscorlib + Data: 134|System.NonSerializedAttribute, mscorlib - Name: Entry: 8 Data: @@ -2069,13 +2183,13 @@ MonoBehaviour: Data: TargetAvatarNearRadius - Name: $v Entry: 7 - Data: 129|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 135|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 130|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 136|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 2 @@ -2099,13 +2213,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 131|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 137|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 132|System.NonSerializedAttribute, mscorlib + Data: 138|System.NonSerializedAttribute, mscorlib - Name: Entry: 8 Data: @@ -2132,13 +2246,13 @@ MonoBehaviour: Data: TargetAvatarFarRadius - Name: $v Entry: 7 - Data: 133|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 139|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 134|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 140|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 2 @@ -2162,13 +2276,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 135|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 141|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 136|System.NonSerializedAttribute, mscorlib + Data: 142|System.NonSerializedAttribute, mscorlib - Name: Entry: 8 Data: @@ -2195,13 +2309,13 @@ MonoBehaviour: Data: TargetAvatarGain - Name: $v Entry: 7 - Data: 137|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 143|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 138|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 144|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 2 @@ -2225,13 +2339,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 139|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 145|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 140|System.NonSerializedAttribute, mscorlib + Data: 146|System.NonSerializedAttribute, mscorlib - Name: Entry: 8 Data: @@ -2258,13 +2372,13 @@ MonoBehaviour: Data: TargetAvatarVolumetricRadius - Name: $v Entry: 7 - Data: 141|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 147|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 142|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 148|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 2 @@ -2288,13 +2402,13 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 143|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 149|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 1 - Name: Entry: 7 - Data: 144|System.NonSerializedAttribute, mscorlib + Data: 150|System.NonSerializedAttribute, mscorlib - Name: Entry: 8 Data: @@ -2321,13 +2435,13 @@ MonoBehaviour: Data: masterOcclusionFactor - Name: $v Entry: 7 - Data: 145|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 151|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 146|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 152|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 1 @@ -2351,19 +2465,19 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 147|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 153|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 2 - Name: Entry: 7 - Data: 148|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime + Data: 154|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime - Name: Entry: 8 Data: - Name: Entry: 7 - Data: 149|UnityEngine.HideInInspector, UnityEngine.CoreModule + Data: 155|UnityEngine.HideInInspector, UnityEngine.CoreModule - Name: Entry: 8 Data: @@ -2390,13 +2504,13 @@ MonoBehaviour: Data: masterListenerDirectionality - Name: $v Entry: 7 - Data: 150|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 156|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 151|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 157|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 1 @@ -2420,19 +2534,19 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 152|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 158|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 2 - Name: Entry: 7 - Data: 153|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime + Data: 159|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime - Name: Entry: 8 Data: - Name: Entry: 7 - Data: 154|UnityEngine.HideInInspector, UnityEngine.CoreModule + Data: 160|UnityEngine.HideInInspector, UnityEngine.CoreModule - Name: Entry: 8 Data: @@ -2459,13 +2573,13 @@ MonoBehaviour: Data: masterPlayerDirectionality - Name: $v Entry: 7 - Data: 155|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 161|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 156|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 162|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 1 @@ -2489,19 +2603,19 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 157|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 163|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 2 - Name: Entry: 7 - Data: 158|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime + Data: 164|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime - Name: Entry: 8 Data: - Name: Entry: 7 - Data: 159|UnityEngine.HideInInspector, UnityEngine.CoreModule + Data: 165|UnityEngine.HideInInspector, UnityEngine.CoreModule - Name: Entry: 8 Data: @@ -2528,13 +2642,13 @@ MonoBehaviour: Data: masterEnableVoiceLowpass - Name: $v Entry: 7 - Data: 160|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 166|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 161|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 167|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 27 + Data: 33 - Name: declarationType Entry: 3 Data: 1 @@ -2558,19 +2672,19 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 162|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 168|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 2 - Name: Entry: 7 - Data: 163|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime + Data: 169|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime - Name: Entry: 8 Data: - Name: Entry: 7 - Data: 164|UnityEngine.HideInInspector, UnityEngine.CoreModule + Data: 170|UnityEngine.HideInInspector, UnityEngine.CoreModule - Name: Entry: 8 Data: @@ -2597,13 +2711,13 @@ MonoBehaviour: Data: masterTargetVoiceDistanceNear - Name: $v Entry: 7 - Data: 165|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 171|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 166|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 172|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 1 @@ -2627,19 +2741,19 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 167|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 173|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 2 - Name: Entry: 7 - Data: 168|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime + Data: 174|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime - Name: Entry: 8 Data: - Name: Entry: 7 - Data: 169|UnityEngine.HideInInspector, UnityEngine.CoreModule + Data: 175|UnityEngine.HideInInspector, UnityEngine.CoreModule - Name: Entry: 8 Data: @@ -2666,13 +2780,13 @@ MonoBehaviour: Data: masterTargetVoiceDistanceFar - Name: $v Entry: 7 - Data: 170|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 176|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 171|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 177|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 1 @@ -2696,19 +2810,19 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 172|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 178|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 2 - Name: Entry: 7 - Data: 173|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime + Data: 179|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime - Name: Entry: 8 Data: - Name: Entry: 7 - Data: 174|UnityEngine.HideInInspector, UnityEngine.CoreModule + Data: 180|UnityEngine.HideInInspector, UnityEngine.CoreModule - Name: Entry: 8 Data: @@ -2735,13 +2849,13 @@ MonoBehaviour: Data: masterTargetVoiceGain - Name: $v Entry: 7 - Data: 175|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 181|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 176|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 182|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 1 @@ -2765,19 +2879,19 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 177|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 183|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 2 - Name: Entry: 7 - Data: 178|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime + Data: 184|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime - Name: Entry: 8 Data: - Name: Entry: 7 - Data: 179|UnityEngine.HideInInspector, UnityEngine.CoreModule + Data: 185|UnityEngine.HideInInspector, UnityEngine.CoreModule - Name: Entry: 8 Data: @@ -2804,13 +2918,13 @@ MonoBehaviour: Data: masterTargetVoiceVolumetricRadius - Name: $v Entry: 7 - Data: 180|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 186|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 181|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 187|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 1 @@ -2834,19 +2948,19 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 182|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 188|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 2 - Name: Entry: 7 - Data: 183|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime + Data: 189|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime - Name: Entry: 8 Data: - Name: Entry: 7 - Data: 184|UnityEngine.HideInInspector, UnityEngine.CoreModule + Data: 190|UnityEngine.HideInInspector, UnityEngine.CoreModule - Name: Entry: 8 Data: @@ -2873,13 +2987,13 @@ MonoBehaviour: Data: masterForceAvatarSpatialAudio - Name: $v Entry: 7 - Data: 185|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 191|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 186|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 192|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 27 + Data: 33 - Name: declarationType Entry: 3 Data: 1 @@ -2903,19 +3017,19 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 187|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 193|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 2 - Name: Entry: 7 - Data: 188|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime + Data: 194|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime - Name: Entry: 8 Data: - Name: Entry: 7 - Data: 189|UnityEngine.HideInInspector, UnityEngine.CoreModule + Data: 195|UnityEngine.HideInInspector, UnityEngine.CoreModule - Name: Entry: 8 Data: @@ -2942,13 +3056,13 @@ MonoBehaviour: Data: masterAllowAvatarCustomAudioCurves - Name: $v Entry: 7 - Data: 190|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 196|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 191|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 197|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 27 + Data: 33 - Name: declarationType Entry: 3 Data: 1 @@ -2972,19 +3086,19 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 192|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 198|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 2 - Name: Entry: 7 - Data: 193|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime + Data: 199|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime - Name: Entry: 8 Data: - Name: Entry: 7 - Data: 194|UnityEngine.HideInInspector, UnityEngine.CoreModule + Data: 200|UnityEngine.HideInInspector, UnityEngine.CoreModule - Name: Entry: 8 Data: @@ -3011,13 +3125,13 @@ MonoBehaviour: Data: masterTargetAvatarNearRadius - Name: $v Entry: 7 - Data: 195|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 201|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 196|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 202|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 1 @@ -3041,19 +3155,19 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 197|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 203|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 2 - Name: Entry: 7 - Data: 198|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime + Data: 204|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime - Name: Entry: 8 Data: - Name: Entry: 7 - Data: 199|UnityEngine.HideInInspector, UnityEngine.CoreModule + Data: 205|UnityEngine.HideInInspector, UnityEngine.CoreModule - Name: Entry: 8 Data: @@ -3080,13 +3194,13 @@ MonoBehaviour: Data: masterTargetAvatarFarRadius - Name: $v Entry: 7 - Data: 200|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 206|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 201|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 207|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 1 @@ -3110,19 +3224,19 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 202|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 208|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 2 - Name: Entry: 7 - Data: 203|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime + Data: 209|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime - Name: Entry: 8 Data: - Name: Entry: 7 - Data: 204|UnityEngine.HideInInspector, UnityEngine.CoreModule + Data: 210|UnityEngine.HideInInspector, UnityEngine.CoreModule - Name: Entry: 8 Data: @@ -3149,13 +3263,13 @@ MonoBehaviour: Data: masterTargetAvatarGain - Name: $v Entry: 7 - Data: 205|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 211|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 206|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 212|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 1 @@ -3179,19 +3293,19 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 207|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 213|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 2 - Name: Entry: 7 - Data: 208|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime + Data: 214|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime - Name: Entry: 8 Data: - Name: Entry: 7 - Data: 209|UnityEngine.HideInInspector, UnityEngine.CoreModule + Data: 215|UnityEngine.HideInInspector, UnityEngine.CoreModule - Name: Entry: 8 Data: @@ -3218,13 +3332,13 @@ MonoBehaviour: Data: masterTargetAvatarVolumetricRadius - Name: $v Entry: 7 - Data: 210|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 216|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 211|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 217|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 32 + Data: 38 - Name: declarationType Entry: 3 Data: 1 @@ -3248,19 +3362,19 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 212|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 218|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 2 - Name: Entry: 7 - Data: 213|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime + Data: 219|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime - Name: Entry: 8 Data: - Name: Entry: 7 - Data: 214|UnityEngine.HideInInspector, UnityEngine.CoreModule + Data: 220|UnityEngine.HideInInspector, UnityEngine.CoreModule - Name: Entry: 8 Data: @@ -3287,13 +3401,13 @@ MonoBehaviour: Data: _initialized - Name: $v Entry: 7 - Data: 215|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 221|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 216|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 222|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 27 + Data: 33 - Name: declarationType Entry: 3 Data: 2 @@ -3317,7 +3431,7 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 217|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 223|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 0 @@ -3344,13 +3458,13 @@ MonoBehaviour: Data: _isReallyOwner - Name: $v Entry: 7 - Data: 218|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 224|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 219|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 225|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 27 + Data: 33 - Name: declarationType Entry: 3 Data: 2 @@ -3374,7 +3488,7 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 220|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 226|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 0 @@ -3401,13 +3515,13 @@ MonoBehaviour: Data: _playerIndex - Name: $v Entry: 7 - Data: 221|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 227|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 222|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 228|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 10 + Data: 4 - Name: declarationType Entry: 3 Data: 2 @@ -3431,7 +3545,7 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 223|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 229|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 0 @@ -3458,13 +3572,13 @@ MonoBehaviour: Data: _playerCount - Name: $v Entry: 7 - Data: 224|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 230|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 225|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 231|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 9 - Data: 10 + Data: 4 - Name: declarationType Entry: 3 Data: 2 @@ -3488,7 +3602,7 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 226|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 232|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 0 @@ -3515,13 +3629,13 @@ MonoBehaviour: Data: _players - Name: $v Entry: 7 - Data: 227|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 233|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 228|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 234|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 7 - Data: 229|System.RuntimeType, mscorlib + Data: 235|System.RuntimeType, mscorlib - Name: Entry: 1 Data: VRC.SDKBase.VRCPlayerApi[], VRCSDKBase @@ -3551,7 +3665,70 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 230|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 236|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + - Name: + Entry: 12 + Data: 0 + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: userBehaviourSource + Entry: 6 + Data: + - Name: + Entry: 8 + Data: + - Name: + Entry: 8 + Data: + - Name: + Entry: 7 + Data: + - Name: $k + Entry: 1 + Data: _playersToIgnore + - Name: $v + Entry: 7 + Data: 237|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + - Name: fieldSymbol + Entry: 7 + Data: 238|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + - Name: internalType + Entry: 7 + Data: 239|System.RuntimeType, mscorlib + - Name: + Entry: 1 + Data: System.Int32[], mscorlib + - Name: + Entry: 8 + Data: + - Name: declarationType + Entry: 3 + Data: 2 + - Name: syncMode + Entry: 3 + Data: 0 + - Name: symbolResolvedTypeName + Entry: 1 + Data: SystemInt32Array + - Name: symbolOriginalName + Entry: 1 + Data: _playersToIgnore + - Name: symbolUniqueName + Entry: 1 + Data: _playersToIgnore + - Name: symbolDefaultValue + Entry: 6 + Data: + - Name: + Entry: 8 + Data: + - Name: fieldAttributes + Entry: 7 + Data: 240|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 0 @@ -3578,13 +3755,13 @@ MonoBehaviour: Data: _rayHits - Name: $v Entry: 7 - Data: 231|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + Data: 241|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor - Name: fieldSymbol Entry: 7 - Data: 232|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor + Data: 242|UdonSharp.Compiler.SymbolDefinition, UdonSharp.Editor - Name: internalType Entry: 7 - Data: 233|System.RuntimeType, mscorlib + Data: 243|System.RuntimeType, mscorlib - Name: Entry: 1 Data: UnityEngine.RaycastHit[], UnityEngine.PhysicsModule @@ -3614,7 +3791,7 @@ MonoBehaviour: Data: - Name: fieldAttributes Entry: 7 - Data: 234|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + Data: 244|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib - Name: Entry: 12 Data: 0 diff --git a/Scripts/BetterPlayerAudio.cs b/Scripts/BetterPlayerAudio.cs index 5472b0b..d4fe715 100644 --- a/Scripts/BetterPlayerAudio.cs +++ b/Scripts/BetterPlayerAudio.cs @@ -8,6 +8,13 @@ namespace Guribo.UdonBetterAudio.Scripts { public class BetterPlayerAudio : UdonSharpBehaviour { + #region Constants + + private const int EnvironmentLayerMask = 1 << 11; + private const int UILayerMask = 1 << 5; + + #endregion + [Header("General Settings")] [SerializeField] private UdonBehaviour uiController; @@ -38,7 +45,7 @@ public class BetterPlayerAudio : UdonSharpBehaviour /// [Tooltip( "Objects on these layers reduce the voice/avatar sound volume when they are in-between the local player and the player/avatar that produces the sound")] - public LayerMask occlusionMask = 1 << 11 | 1 << 5; + public LayerMask occlusionMask = EnvironmentLayerMask | UILayerMask; #region default values for resetting @@ -295,6 +302,7 @@ public class BetterPlayerAudio : UdonSharpBehaviour private int _playerIndex = 0; private int _playerCount; private VRCPlayerApi[] _players = new VRCPlayerApi[1]; + private int[] _playersToIgnore = null; private readonly RaycastHit[] _rayHits = new RaycastHit[2]; #region Unity Lifecycle @@ -319,11 +327,14 @@ private void LateUpdate() _playerIndex = (_playerIndex + 1) % _playerCount; var vrcPlayerApi = _players[_playerIndex]; - if (vrcPlayerApi == null || vrcPlayerApi.playerId == localPlayer.playerId) + if (vrcPlayerApi == null + || vrcPlayerApi.playerId == localPlayer.playerId + || PlayerIsIgnored(vrcPlayerApi)) { continue; } + var listenerHead = localPlayer.GetTrackingData(VRCPlayerApi.TrackingDataType.Head); var otherPlayerHead = vrcPlayerApi.GetTrackingData(VRCPlayerApi.TrackingDataType.Head); @@ -345,6 +356,20 @@ private void LateUpdate() } } + private bool PlayerIsIgnored(VRCPlayerApi vrcPlayerApi) + { + if (_playersToIgnore == null) return false; + // TODO do binary search here + // I assume not more then a handful of players are ignored at once so a regular search might be faster for + // now until Array.BinarySearch is whitelisted + foreach (var i in _playersToIgnore) + { + if (i == vrcPlayerApi.playerId) return true; + } + + return false; + } + private int GetPendingPlayerUpdates() { if (playerUpdateRate == -1) @@ -443,9 +468,16 @@ private float CalculateOcclusion(Vector3 listenerHead, Vector3 direction, float distance, occlusionMask); - // it is always supposed to hit the other player so at least 1 hit is expected, more then 1 hit indicates - // the ray hit another player first or hit the environment (when using the default occlusionMask) - return hits > 1 ? OcclusionFactor : 1f; + // if the UI layer is used for occlusion (UI layer contains the player capsules) allow at least one hit + var uiLayerInUse = (occlusionMask | UILayerMask) > 0; + if (uiLayerInUse) + { + // it is always supposed to hit the other player so at least 1 hit is expected, more then 1 hit indicates + // the ray hit another player first or hit the environment (when using the default occlusionMask) + return hits > 1 ? OcclusionFactor : 1f; + } + + return hits > 0 ? OcclusionFactor : 1f; } private void UpdateVoiceAudio(VRCPlayerApi vrcPlayerApi, float distanceFactor) @@ -581,5 +613,154 @@ private void UseMasterValues() uiController.SendCustomEvent(updateUiEventName); } } + + /// + /// Add a player that shall not be affected by any effect of this script. Upon adding the player + /// all values of the player will be set to the currently defined values on this script. + /// Occlusion and directionality effects are reverted if the player was affected. + /// Multiple calls have no further effect. + /// Providing an invalid player has no effect. + /// The ignored players are internally kept in a sorted array (ascending by player id) which is cleaned up every + /// time a player is successfully added or removed. + /// This function is local only. + /// + /// + public void IgnorePlayer(VRCPlayerApi playerToIgnore) + { + // validate the player + if (playerToIgnore == null) + { + Debug.LogError("[BetterAudio] BetterPlayerAudio.IgnorePlayer: invalid argument"); + return; + } + + var vrcPlayerApi = VRCPlayerApi.GetPlayerById(playerToIgnore.playerId); + if (vrcPlayerApi == null) + { + Debug.LogError( + $"[BetterAudio] BetterPlayerAudio.IgnorePlayer: player {playerToIgnore} doesn't exist"); + return; + } + + var noPlayerIgnoredYet = _playersToIgnore == null || _playersToIgnore.Length < 1; + if (noPlayerIgnoredYet) + { + // simply add the player and return + _playersToIgnore = new[] {vrcPlayerApi.playerId}; + return; + } + + // make sure all contained players are still alive, otherwise remove them + var validPlayers = 0; + var stillValidIgnoredPlayers = new int[_playersToIgnore.Length]; + var playerAdded = false; + + foreach (var playerId in _playersToIgnore) + { + if (VRCPlayerApi.GetPlayerById(playerId) == null) + { + continue; + } + + // keep all valid players + stillValidIgnoredPlayers[validPlayers] = playerId; + ++validPlayers; + + // keep track if the player is already in the array while validating all players in the array + var playerIsAlreadyIgnored = playerId == vrcPlayerApi.playerId; + if (playerIsAlreadyIgnored) + { + playerAdded = true; + continue; + } + + // insert the new player at the current position if the insert position is found + var insertPositionFound = playerId < vrcPlayerApi.playerId && !playerAdded; + if (!insertPositionFound) + { + continue; + } + + var longerStillValidIgnoredPlayers = new int[stillValidIgnoredPlayers.Length + 1]; + stillValidIgnoredPlayers.CopyTo(longerStillValidIgnoredPlayers, 0); + stillValidIgnoredPlayers = longerStillValidIgnoredPlayers; + stillValidIgnoredPlayers[validPlayers] = vrcPlayerApi.playerId; + ++validPlayers; + + // unset occlusion values and directionality effects + UpdateVoiceAudio(vrcPlayerApi, 1f); + UpdateAvatarAudio(vrcPlayerApi, 1f); + } + + // shrink the validated array content (happens when ignored players have left the world) + // and store it again in the old array + _playersToIgnore = new int[validPlayers]; + for (var i = 0; i < validPlayers; i++) + { + _playersToIgnore[i] = stillValidIgnoredPlayers[i]; + } + } + + /// + /// Remove a player from the ignore list and let it be affected again by this script. + /// The ignored players are internally kept in a sorted array (ascending by player id) which is cleaned up every + /// time a player is removed. + /// This function is local only. + /// + /// + public void UnIgnorePlayer(VRCPlayerApi ignoredPlayer) + { + // validate the player + if (ignoredPlayer == null) + { + Debug.LogError( + "[BetterAudio] BetterPlayerAudio.UnIgnorePlayer: invalid argument"); + return; + } + + var vrcPlayerApi = VRCPlayerApi.GetPlayerById(ignoredPlayer.playerId); + if (vrcPlayerApi == null) + { + Debug.LogError( + $"[BetterAudio] BetterPlayerAudio.UnIgnorePlayer: player {ignoredPlayer} doesn't exist"); + return; + } + + if (_playersToIgnore == null || _playersToIgnore.Length < 2) + { + _playersToIgnore = null; + return; + } + + // make sure all contained players are still alive, otherwise remove them + var validPlayers = 0; + var stillValidIgnoredPlayers = new int[_playersToIgnore.Length]; + + foreach (var playerId in _playersToIgnore) + { + if (VRCPlayerApi.GetPlayerById(playerId) == null) + { + continue; + } + + // keep all valid players + stillValidIgnoredPlayers[validPlayers] = playerId; + ++validPlayers; + + // decrement the index by one again if the player id is found + if (playerId == vrcPlayerApi.playerId) + { + --validPlayers; + } + } + + // shrink the validated array content (happens when ignored players have left the world) + // and store it again in the old array + _playersToIgnore = new int[validPlayers]; + for (var i = 0; i < validPlayers; i++) + { + _playersToIgnore[i] = stillValidIgnoredPlayers[i]; + } + } } } \ No newline at end of file