Photon Methods public class Blank : Photon.PunBehaviour instead of mono behavior, use this to receive photon callbacks in your script. public override void OnLeftRoom() An example of overriding a punbehavior callback