111
This commit is contained in:
@@ -26,7 +26,7 @@ namespace TMPro.Examples
|
||||
{
|
||||
TMP_FontAsset fontAsset = null;
|
||||
|
||||
// Create Dynamic Font Asset for the given font file.
|
||||
// Create Dynamic Font AssetLoad for the given font file.
|
||||
switch (Benchmark)
|
||||
{
|
||||
case BenchmarkType.TMP_SDF_MOBILE:
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace TMPro.Examples
|
||||
|
||||
m_textMeshPro.autoSizeTextContainer = true;
|
||||
|
||||
// Load the Font Asset to be used.
|
||||
// Load the Font AssetLoad to be used.
|
||||
//m_FontAsset = Resources.Load("Fonts & Materials/LiberationSans SDF", typeof(TMP_FontAsset)) as TMP_FontAsset;
|
||||
//m_textMeshPro.font = m_FontAsset;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user