public override void Ini() { base.Ini(); if (dropdown) { dropdown.options = GetResolutionsNames(); dropdown.value = VideoSettings.GetResolutionId(); dropdown.onValueChanged.AddListener(VideoSettings.SetResolution); } }
public override void Ini() { base.Ini(); if (dropdown) { dropdown.options = GetResolutionsNames(); dropdown.value = VideoSettings.GetResolutionId(); dropdown.onValueChanged.AddListener(VideoSettings.SetResolution); } }