ルームのカスタムプロパティを利用する – Photon

void OnDestory () { // Photon切断 PhotonNetwork.Disconnect (); }

情報源: ルームのカスタムプロパティを利用する – Photon