ScenePhotonView









How do I use Scene Photon View
Below are practical examples compiled from projects for learning and reference purposes

Featured Snippets


File name: GameLogic.cs Copy
11     public void Start()
12     {
13         ScenePhotonView = this.GetComponent();
14     }
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     }

ScenePhotonView 120 lượt xem

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