Ejemplo n.º 1
0
    public override void Ini()
    {
        base.Ini();

        if (dropdown && VideoSettings.singleton)
        {
            dropdown.options = GetQualityNames();
            dropdown.value   = VideoSettings.GetQualityId();
            dropdown.onValueChanged.AddListener(VideoSettings.SetQuality);
            onLoaded.Invoke();
        }
    }