Tips

Creating new rooms/lobby

Creation of new rooms/lobbies is as simple as:

	private void lobbiesInit()
  {
			lobbies = new List<Lobby>();

			Lobby lobby_1 = new Lobby(_id : 1, _rouletteCalcs: rouletteCalcs, this);
			Lobby lobby_2 = new Lobby(_id : 2, _rouletteCalcs: rouletteCalcs, this);
			Lobby lobby_3 = new Lobby(_id : 3, _rouletteCalcs: rouletteCalcs, this);

			lobbies.Add(lobby_1);
			lobbies.Add(lobby_2);
			lobbies.Add(lobby_3);
		}

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.

Last updated