Get a Player client with gameObject on scene

So I have few objects on the scene, instantiated with PhotonNetwork. My question is - How can I refer to real Player, that controls one of the gameObjects on my scene? How can I get customProperties of that Player?

Thanks.

Answers

  • JohnTubeJohnTube mod
    edited May 3
    Hi @Viacheslav,

    Thank you for choosing Photon!

    not sure which player you want in relation to the networked object, but did you try
    photonView.Owner?
    photonView.Controller?
    or via photonView.CreatorActorNr?

    then

    player.CustomProperties
Sign In or Register to comment.