StrixRoomList¶
Strix Unity SDK provides a simple room list prefab for creating and joining rooms. This can be found in Assets > Strix > GUI > Scripts > StrixRoomListUI.prefab. Add it together with StrixConnectUI.prefab to your scene.
![StrixRoomList in Assets folder](../../_images/listprefablocation.png)
Disable the StrixRoomListUI canvas component.
![Disabling the canvas component](../../_images/disablecanvas.png)
Follow the previous prefab explanation in StrixConnectUI to get a working connect UI element. Select the StrixConnectUI > StrixConnectPanel .
You should see a Strix Connect GUI script. The OnConnect by default creates a new room. Change this to enable the StrixRoomListUI canvas after we connect to the master server.
![Enabling canvas on connect](../../_images/enablecanvas.png)
Now after we run the game and connect to the master server, we have a UI for creating and joining rooms.
![Room list prefab on the go](../../_images/roomlist.png)