Skip to content

Commit

Permalink
Make CommonInvokerBase#Invoke non-virtual and public
Browse files Browse the repository at this point in the history
  • Loading branch information
DerpyNewbie committed Nov 3, 2024
1 parent 177bb43 commit 3ebaf61
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using UdonSharp;
using JetBrains.Annotations;
using UdonSharp;
using UnityEngine;
using VRC.SDKBase;
using VRC.Udon.Common.Enums;
Expand All @@ -22,7 +23,8 @@ public abstract class CommonInvokerBase : UdonSharpBehaviour
[SerializeField]
protected bool isMasterOnly;

protected virtual void Invoke()
[PublicAPI]
public void Invoke()
{
if ((!Utilities.IsValid(Networking.LocalPlayer)) || (isMasterOnly && !Networking.LocalPlayer.isMaster))
return;
Expand Down

0 comments on commit 3ebaf61

Please sign in to comment.