Can I hide my host?
Options
MGMGMG
✭
in Photon Bolt
In PUN,I can do it like this:
PhotonNetwork.room.open = false;
PhotonNetwork.room.visible = false;
But how can make that my host hide by Bolt?
I have three scenes: Main,Room,Game.
In "Main",all clients can connect my host(use BoltNetwork.SessionList) and will goto "Room".
In "Room",if I(host) start a game,will goto "Game".
In "Game",I want to hide me(host) in BoltNetwork.SessionList.What should I do?
PhotonNetwork.room.open = false;
PhotonNetwork.room.visible = false;
But how can make that my host hide by Bolt?
I have three scenes: Main,Room,Game.
In "Main",all clients can connect my host(use BoltNetwork.SessionList) and will goto "Room".
In "Room",if I(host) start a game,will goto "Game".
In "Game",I want to hide me(host) in BoltNetwork.SessionList.What should I do?
0
Comments
-
Update session token, don't display lobbies that are marked closed.0
-
Thanks to everyone, I solved my question:
http://forum.photonengine.com/discussion/comment/33941#Comment_33941
"PhotonPoller.UpdateHostInfo()",I should use this code to update my room token.
And I can hide the room what is "Game" where I use BoltNetwork.SessionList.0