TaggedPlayer









How do I use Tagged Player
Below are practical examples compiled from projects for learning and reference purposes

Featured Snippets


File name: GameLogic.cs Copy
40     public static void TagPlayer(int playerID)
41     {
42         Debug.Log("TagPlayer: " + playerID);
43         ScenePhotonView.RPC("TaggedPlayer", PhotonTargets.All, playerID);
44     }
File name: GameLogic.cs Copy
47     public void TaggedPlayer(int playerID)
48     {
49         playerWhoIsIt = playerID;
50         Debug.Log("TaggedPlayer: " + playerID);
51     }

TaggedPlayer 117 lượt xem

Gõ tìm kiếm nhanh...