Disable warnings from TextMesh Pro.

This commit is contained in:
2023-04-04 20:40:12 +08:00
parent 2e69035618
commit a013d59379

View File

@@ -523,7 +523,7 @@ namespace TMPro
if (m_fontAsset == null)
{
Debug.LogWarning("The LiberationSans SDF Font Asset was not found. There is no Font Asset assigned to " + gameObject.name + ".", this);
// Debug.LogWarning("The LiberationSans SDF Font Asset was not found. There is no Font Asset assigned to " + gameObject.name + ".", this);
return;
}
@@ -1675,7 +1675,7 @@ namespace TMPro
// Check if we have a font asset assigned. Return if we don't because no one likes to see purple squares on screen.
if (m_fontAsset == null)
{
Debug.LogWarning("Please assign a Font Asset to this " + transform.name + " gameobject.", this);
// Debug.LogWarning("Please assign a Font Asset to this " + transform.name + " gameobject.", this);
return;
}