in using PUN ,cant find call service()

just as the top

in samples , i cant find where to call peer.service() function ...

how does it do ?


  • When using PUN you would never have to call this yourself. It's done automatically, see the PhotonNetwork network update rate. (If you're really curious, it's here: PhotonNetwork.networkingPeer.Service();..but you should never need to acces networkingPeer ever).