use dynamic font

This commit is contained in:
Mister_Nebula 2021-10-26 11:59:41 +01:00
parent 3d4788d811
commit 5b046b0fce

View File

@ -22,9 +22,8 @@ namespace QSB.ConversationSync
Instance = this;
_boxPrefab = QSBCore.ConversationAssetBundle.LoadAsset<GameObject>("assets/dialoguebubble.prefab");
// BUG : make dynamic so it can be different sizes!
// the dynamic font seems to be super lo-res at this size...?
var font = (Font)Resources.Load(@"fonts\english - latin\spacemono-bold");
var font = (Font)Resources.Load(@"fonts\english - latin\spacemono-regular_dynamic");
if (font == null)
{
DebugLog.ToConsole("Error - Font is null!", MessageType.Error);