Tips

Creating new rooms/lobby

Creation of new rooms/lobbies is as simple as:
1
private void lobbiesInit()
2
{
3
lobbies = new List<Lobby>();
4
​
5
Lobby lobby_1 = new Lobby(_id : 1, _rouletteCalcs: rouletteCalcs, this);
6
Lobby lobby_2 = new Lobby(_id : 2, _rouletteCalcs: rouletteCalcs, this);
7
Lobby lobby_3 = new Lobby(_id : 3, _rouletteCalcs: rouletteCalcs, this);
8
​
9
lobbies.Add(lobby_1);
10
lobbies.Add(lobby_2);
11
lobbies.Add(lobby_3);
12
}
Copied!
The id needs to be unique.

Creating new chips

Add new chip with the chip prefab.
Set chip value and chip sprite.
Edit the prefab PlaceHolderWrapper in Prefabs/roulette by adding your new chip value/sprite.
​