Feat: 场景视图mod,UI框架更换标题

This commit is contained in:
m0_75251201
2025-11-08 14:03:17 +08:00
parent 786025f720
commit 9b91218973
114 changed files with 2654 additions and 177 deletions

View File

@@ -5,6 +5,7 @@ using Duckov.UI;
using Duckov.UI.Animations;
using Duckov.Utilities;
using HarmonyLib;
using SodaCraft.Localizations;
using UnityEngine;
namespace UIFrame
@@ -16,7 +17,11 @@ namespace UIFrame
private GameObject? workerObject;
private Harmony? harmony;
private void Start()
{
}
protected override void OnAfterSetup()
{
CreateAPIObject();
@@ -31,6 +36,7 @@ namespace UIFrame
protected override void OnBeforeDeactivate()
{
ClearAPIObject();
harmony?.UnpatchAll(MOD_ID);
harmony = null;