大调整
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user