Obtenez le jeu de photons gameobject
var photonViews = UnityEngine.Object.FindObjectsOfType<PhotonView>();
foreach (var view in photonViews)
{
var player = view.owner;
//Objects in the scene don't have an owner, its means view.owner will be null
if(player!=null){
var playerPrefabObject = view.gameObject;
//do works...
}
}
Elated Elk