public void StartGame() { Debug.Log("Start SlotsGame..."); currentSlotsConfig = (SlotsGameConfig)DataManager.Instance.CurrentGameTypeConfig; currentSlotMachineConfig = (SlotMachineConfig)DataManager.Instance.CurrentSimpleGameConfig; GUIController.Instance.ShowScreen <SlotMachineScreen>(); GUIController.Instance.ShowScreen <TopBarScreen>(); rewardMods = new RewardModificator(currentSlotMachineConfig); spinGenerator.SetRewardModificator(rewardMods); foreach (var curModConfig in currentSlotsConfig.modConfigs) { spinModificators.Add(curModConfig.CreateMod()); } spinGenerator.SetSpinModificators(spinModificators); CalculateBets(); }
public void SetRewardModificator(RewardModificator rewardMod) { rewardMods = rewardMod; }