void Start() { for (short i = 0; i < GameInfo.playersNo; i++) { players[i].playerIndex = i; players[i].playerColor = GameInfo.playersColors[i]; players[i].transform.position = boardTiles[0].PlayersLocations[i]; } currentPlayer = players[0]; DiceManager.resetDices(); // Register the function player arrived in the eventSystem, for playerArrived. CustomEventSystem.RegisterListener(EVENT_TYPE.PLAYER_ARRIVED, OnPlayerArrived); // Register the function give income in the eventSystem. CustomEventSystem.RegisterListener(EVENT_TYPE.GIVE_INCOME, givePlayerIncome); removeInitialGUI(); GUImanager.setJobSelectionStatus(true); }