Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Update SendCustomNetworkedEvent logging to use CyanEmu logging to be …
Browse files Browse the repository at this point in the history
…disabled.
  • Loading branch information
CyanLaser committed Jan 20, 2021
1 parent c1d66e5 commit 8c9b746
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CyanEmu/Scripts/VRCSDK3/CyanEmuUdonHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

Expand Down

0 comments on commit 8c9b746

Please sign in to comment.