From 4d7ab052a2ceb6f58f9f22abfaa4f6ece4a0c104 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Fri, 24 Feb 2023 15:28:08 +0100 Subject: [PATCH] Fixed class error when using PhotonPun --- .../Scripts/Networking/HumanoidPlayerPunVoice.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Runtime/HumanoidControl/Scripts/Networking/HumanoidPlayerPunVoice.cs b/Runtime/HumanoidControl/Scripts/Networking/HumanoidPlayerPunVoice.cs index be026b2..605969c 100644 --- a/Runtime/HumanoidControl/Scripts/Networking/HumanoidPlayerPunVoice.cs +++ b/Runtime/HumanoidControl/Scripts/Networking/HumanoidPlayerPunVoice.cs @@ -2,6 +2,8 @@ namespace Passer.Humanoid { +#if !hPUNVOICE2 public partial class HumanoidPlayerPunVoice : MonoBehaviour { } +#endif } \ No newline at end of file