dfDropdown.requestCharacterInfo C# (CSharp) Method

requestCharacterInfo() private method

private requestCharacterInfo ( ) : void
return void
    private void requestCharacterInfo()
    {
        var dynamicFont = this.Font as dfDynamicFont;
        if( dynamicFont == null )
            return;

        if( !dfFontManager.IsDirty( this.Font ) )
            return;

        var text = this.SelectedValue;
        if( string.IsNullOrEmpty( text ) )
            return;

        var effectiveTextScale = TextScale; // * getTextScaleMultiplier();
        var effectiveFontSize = Mathf.CeilToInt( this.font.FontSize * effectiveTextScale );

        dynamicFont.AddCharacterRequest( text, effectiveFontSize, FontStyle.Normal );
    }