Working font!

thank you sarbian!
This commit is contained in:
2020-06-16 15:04:21 -07:00
parent f9d9c228ae
commit 2122b6a0a7
5 changed files with 22 additions and 3 deletions

View File

@ -19,9 +19,6 @@ namespace ConformalDecals.Text {
Debug.Log($"[ConformalDecals] could not load font asset {urlFile.fullPath}");
}
else {
var loadedFoo = bundle.LoadAllAssets<DecalFont>();
Debug.Log(loadedFoo[0].foo1);
Debug.Log(loadedFoo[0].foo2);
var loadedFonts = bundle.LoadAllAssets<TMP_FontAsset>();
foreach (var font in loadedFonts) {
Debug.Log($"[ConformalDecals] adding font {font.name}" );