Any way to do multiple events like OnPlayerLeftRoom

Options
OnPlayerLeftRoom and other are functions to override in MonoBehaviourPunCallbacks. When I override the same function in other class it doesn't seem to work. I think that I'm overriding one with second in other class. But how to listen to it in multiple classes?

public override void OnPlayerLeftRoom(Player otherPlayer)
{
base.OnPlayerLeftRoom(otherPlayer);
if (PhotonNetwork.IsMasterClient)
changeTimer(false);
}
In other file:

public override void OnPlayerLeftRoom(Player otherPlayer)
{
base.OnPlayerLeftRoom(otherPlayer);

Destroy(PlayerInfo.getPlayerObject(otherPlayer));
}

Comments