Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

instantiate a player in photon

PhotonNetwork.Instantiate(avatar, Vector3.zero, Quaternion.identity, 0);
//Note: Vector and Quaternion are used to init the position and rotation of the avatar.
 
PREVIOUS NEXT
Tagged: #instantiate #player #photon
ADD COMMENT
Topic
Name
9+4 =