大调整

This commit is contained in:
Bob.Song
2025-12-23 18:03:53 +08:00
parent 649e869038
commit 652aa00644
10072 changed files with 70310 additions and 197003 deletions

View File

@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using NBC.Asset;
using Newtonsoft.Json;
using UnityEngine;
using Color = UnityEngine.Color;
@@ -35,7 +36,7 @@ namespace NBF
public static ModelViewerSettings Load(uint id)
{
var configAsset = Resources.Load<TextAsset>($"config/Viewer/{id}");
var configAsset = Assets.Load<TextAsset>($"Assets/ResRaw/config/Viewer/{id}");
if (configAsset != null)
{
return JsonConvert.DeserializeObject<ModelViewerSettings>(configAsset.text);