photon instantiate player code example
Example: 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.
PhotonNetwork.Instantiate(avatar, Vector3.zero, Quaternion.identity, 0);
//Note: Vector and Quaternion are used to init the position and rotation of the avatar.