NetworkingPeer.RemoveRPCsInGroup C# (CSharp) Method

RemoveRPCsInGroup() public method

public RemoveRPCsInGroup ( int group ) : void
group int
return void
    public void RemoveRPCsInGroup(int group)
    {
        foreach (KeyValuePair<int, PhotonView> kvp in this.photonViewList)
        {
            PhotonView view = kvp.Value;
            if (view.group == group)
            {
                this.CleanRpcBufferIfMine(view);
            }
        }
    }

Usage Example

Exemplo n.º 1
0
 public static void RemoveRPCsInGroup(int targetGroup)
 {
     if (VerifyCanUseNetwork())
     {
         networkingPeer.RemoveRPCsInGroup(targetGroup);
     }
 }
All Usage Examples Of NetworkingPeer::RemoveRPCsInGroup
NetworkingPeer