---
tags:
    - "TMP, Text, Mesh, Pro"
---

# TMP Font Asset Get Characters

[Text Mesh Pro](../index.md) / [TMP Font Asset](index.md) / **TMP Font Asset Get Characters**

<div class="grid cards" markdown>

* :green_circle: Can Read

* :red_circle: Cannot Write

</div>

## Description

Returns the execution of Get Characters static method on the TMP Font Asset class

## Code

```cs
// <auto-generated>
// This script was automatically generated using the Visual Script Transpiler.
// Do not modify. Changes to this file will be lost when updating the package.
// </auto-generated>

using System;
using UnityEngine;
using VisualScript.Icons;
using UnityEngine.TextCore.LowLevel;
using UnityEngine.UI;
using TMPro;

namespace VisualScript.Runtime
{
    [Get]
    
    [Title("TMP Font Asset Get Characters")]
    [Category("Text Mesh Pro/TMP Font Asset/Get Characters")]
    [Description("Returns the execution of Get Characters static method on the TMP Font Asset class")]
    
    [Image(typeof(IconUIText), ColorTheme.Type.Blue)]
    [Keywords("TMP, Text, Mesh, Pro")]
    
    [Serializable]
    public class GenTypeString_TMP_FontAsset_GetCharacters_1 : TypeString
    {
        [SerializeField] private GetScriptableObject m_FontAsset = new GetScriptableObject();
        
        public override string Get(Args args)
        {
            string value = (string) TMP_FontAsset.GetCharacters(
                (TMP_FontAsset) this.m_FontAsset.Get(args)
            );
            return value;
        }
        
        public override string ToString()
        {
            return $"TMP Font Asset Get Characters ({this.m_FontAsset})";
        }
        
        protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
    }
}


```

