SHA256
Refactor Asset Loading
This commit is contained in:
9 files changed
+102
-162
No files matched your search
@@ -151,11 +151,11 @@ internal class RenderConfigUIManager : MonoBehaviour
|
||||
};
|
||||
|
||||
// Apply same font as existing UI
|
||||
if (RenderMod.FontBundle)
|
||||
if (ModAssets.FontBundle)
|
||||
{
|
||||
try
|
||||
{
|
||||
var font = RenderMod.FontBundle.LoadAsset<Font>("NanumSquareNeoOTF-Bd");
|
||||
var font = ModAssets.FontBundle.LoadAsset<Font>("NanumSquareNeoOTF-Bd");
|
||||
if (font) { _versionLabel.style.unityFontDefinition = FontDefinition.FromFont(font); }
|
||||
}
|
||||
catch { /* ignored */ }
|
||||
|
||||
Reference in new issue
Block a user