RemoveRPCsInGroup
How do I use Remove R P Cs In Group
Below are practical examples compiled from projects for learning and reference purposes
Featured Snippets
Line | Code | Ex.. |
---|---|---|
2813 | public void RemoveRPCsInGroup(int group) | 1 |
2466 | public static void RemoveRPCsInGroup(int targetGroup) | 2 |
File name: NetworkingPeer.cs
Copy
2813 public void RemoveRPCsInGroup(int group)
2814 {
2815 foreach (KeyValuePair
2816 {
2817 PhotonView view = kvp.Value;
2818 if (view.group == group)
2819 {
2820 this.CleanRpcBufferIfMine(view);
2821 }
2822 }
2823 }
File name: PhotonNetwork.cs
Copy
2466 public static void RemoveRPCsInGroup(int targetGroup)
2467 {
2468 if (!VerifyCanUseNetwork())
2469 {
2470 return;
2471 }
2472
2473 networkingPeer.RemoveRPCsInGroup(targetGroup);
2474 }
RemoveRPCsInGroup 123 lượt xem
Gõ tìm kiếm nhanh...