protected override void OnInitialize() { _settingsPanel = GameObjectUtilities.FindGameObject("SettingsContainer/SettingsPanelContainer"); _creator = _settingsPanel.GetComponentInChildren <SettingCreation>(); _creator.Wipe(); _creator.SetLabelAlignment(TextAnchor.MiddleLeft); _creator.TryLanguageForPlatform(out _language, false, true, "SETTINGS_LABEL_LANGUAGE"); _creator.TryResolutionForPlatform(out _resolution, 960, 540, null, false, true, "SETTINGS_LABEL_RESOLUTION"); _creator.TryFullScreenForPlatform(out _fullScreen, true, "SETTINGS_LABEL_FULLSCREEN"); _cancel = GameObjectUtilities.FindGameObject("SettingsContainer/SettingsPanelContainer/ButtonPanel/CancelButtonContainer").GetComponent <Button>(); _apply = GameObjectUtilities.FindGameObject("SettingsContainer/SettingsPanelContainer/ButtonPanel/ApplyButtonContainer").GetComponent <Button>(); }