ProjectDDD/Assets/Samples/Shader Graph/17.1.0/UGUI Shaders/Scripts/Editor/TMProResourcesCheck.cs

19 lines
533 B
C#
Raw Normal View History

2025-07-30 10:44:58 +00:00
using UnityEditor;
using UnityEngine;
using TMPro;
namespace Unity.UI.Shaders.Sample.Editor
{
public static class TMProResourcesCheck
{
[InitializeOnLoadMethod]
static void Init()
{
var tmProSettings = TMP_Settings.instance; // getting the instance should be enough
//var tmProStettings = Resources.Load<TMP_Settings>("TMP Settings");
//if (tmProStettings == null)
// TMP_PackageResourceImporterWindow.ShowPackageImporterWindow();
}
}
}