Refactor Asset Loading

This commit is contained in:
copecone committed 2026-10-05 14:50:21 +09:00
1 parent 6c0347609d
commit b15903f1e0
9 files changed
+102 -162

No files matched your search

+2 -2
View File
@@ -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 */ }