private void Start() { _gameModeDropdown = GameObject.Find("GameModeDropdown").GetComponent <Dropdown>(); List <Dropdown.OptionData> optionDataList = new List <Dropdown.OptionData>(); optionDataList.Add(new Dropdown.OptionData("Select a Game Mode ...")); for (int position = 0; position < GameModeOptions.options.Length; position++) { optionDataList.Add(new Dropdown.OptionData(GameModeOptions.options[position].Label)); } _gameModeDropdown.AddOptions(optionDataList); _gameModeDropdown.onValueChanged.AddListener(delegate { GameModeDropdownChanged(_gameModeDropdown); }); _difficultyDropdown = GameObject.Find("DifficultyDropdown").GetComponent <Dropdown>(); _difficultyDropdown.onValueChanged.AddListener(delegate { DifficultyDropdownChanged(_difficultyDropdown); }); _difficultyDropdown.gameObject.SetActive(false); _difficultyText = GameObject.Find("DifficultyText").GetComponent <Text>(); _difficultyText.gameObject.SetActive(false); _startButton = GameObject.Find("StartButton").GetComponent <Button>(); _startButton.onClick.AddListener(delegate { StartGame(_startButton); }); _configuration = BoardConfigurationGetter.getConfigurationObject(); _configuration.EnabledGeneralAudio(); _configuration.Difficulty = (DifficultyOptions.Options) 0; }