create multiplayer game Photon code example
Example 1: Unity multiplayer Photon
PhotonNetwork.RaiseEvent( (byte) eventCode,
(object) eventContent,
(bool) sendReliable
);
Example 2: Create a Game Photon
public void OnConnectedToMaster()
{
PhotonNetwork.CreateRoom("Room42", true, true, 4);
}