PUN Essential API Reference

Current Room Player Count int playerCount = PhotonNetwork.CurrentRoom.PlayerCount; Checking Ownership of a PhotonView When using scripts that inherit from MonoBehaviourPun, you can determine if the current instance belongs to the local player: bool isOwner = photonView.IsMine; Checking if a Player is Local bool isLocal = somePlayer.IsLocal; ...

Posted on Sat, 09 May 2026 15:35:46 +0000 by allydm