Initial commit

This commit is contained in:
2025-04-08 11:31:35 +08:00
commit a5687dc451
13482 changed files with 5461110 additions and 0 deletions

View File

@ -0,0 +1,18 @@
using TMPro;
using UnityEngine;
public class TEXTUI_SubmeshChecker : MonoBehaviour
{
[SerializeField]
private TextMeshProUGUI TextUI;
private void Update()
{
if (TextUI.transform.childCount > 0)
{
Debug.LogWarning("Submesh TextMeshPro Detected");
Debug.LogWarning(TextUI.text);
base.enabled = false;
}
}
}