diff --git a/CyanEmu/Scripts/VRCSDK3/CyanEmuUdonHelper.cs b/CyanEmu/Scripts/VRCSDK3/CyanEmuUdonHelper.cs index f0fad1f..4026696 100644 --- a/CyanEmu/Scripts/VRCSDK3/CyanEmuUdonHelper.cs +++ b/CyanEmu/Scripts/VRCSDK3/CyanEmuUdonHelper.cs @@ -34,12 +34,12 @@ public static void SendCustomNetworkEventHook(UdonBehaviour behaviour, NetworkEv { if (target == NetworkEventTarget.All || (target == NetworkEventTarget.Owner && Networking.IsOwner(behaviour.gameObject))) { - Debug.Log("Sending Network Event! eventName:" + eventName +", obj:" +VRC.Tools.GetGameObjectPath(behaviour.gameObject)); + behaviour.Log("Sending Network Event! eventName:" + eventName +", obj:" +VRC.Tools.GetGameObjectPath(behaviour.gameObject)); behaviour.SendCustomEvent(eventName); } else { - Debug.Log("Did not send custom network event " +eventName +" for object at "+ VRC.Tools.GetGameObjectPath(behaviour.gameObject)); + behaviour.Log("Did not send custom network event " +eventName +" for object at "+ VRC.Tools.GetGameObjectPath(behaviour.gameObject)); } }