using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using UnityEditor; using UnityEditor.UIElements; using UnityEngine; using UnityEngine.TextCore.Text; using UnityEngine.UIElements; namespace BITKit.GameEditor { public class TMPFontCheck : EditorWindow { public static FontAsset CurrentFont; [MenuItem("Tools/TextMeshPro Font Check")] public static void ShowExample() { GetWindow().Show(); } private void CreateGUI() { rootVisualElement.Clear(); var refreshButton = rootVisualElement.Create