Disable warnings from TextMesh Pro.
This commit is contained in:
@@ -523,7 +523,7 @@ namespace TMPro
|
|||||||
|
|
||||||
if (m_fontAsset == null)
|
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;
|
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.
|
// 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)
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user