How can I get PlayerRef of MasterClient in current session ( shared mode, nightly 1.1.2 )

in Fusion
Hello,
I need to get PlayerRef of MasterClient in current session, basically equivalent of PhotonNetwork.MasterClient
in PUN.
How do I do that ?
0
Answers
-
Hi,
Object.StateAuthority
should work, if it don't, you can store on aNetworkBehaviour
checking onSpawned()
if is theMasterClient
, if so, store the PlayerRef on a Networked property.-----
Isaac Augusto
Photon Fusion Team
0