Move UI Components from Component Package to UI Package

This commit is contained in:
copecone committed 2026-05-28 12:03:24 +09:00
1 parent 2ea5deaba1
commit ef7f4c49a8
4 files changed
+14 -12

No files matched your search

+1
View File
@@ -3,6 +3,7 @@ using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using ADOFAIRenderer.UI;
using ADOFAIRenderer.Util;
using ADOFAIRenderer.Util.FFmpeg;
using MelonLoader;
+9 -10
View File
@@ -56,18 +56,17 @@ namespace ADOFAIRenderer.Patch.ClassPatch
var chainSequenceField = traverse.Field("chainSequence");
var chainSequenceObj = chainSequenceField.GetValue();
if (chainSequenceObj == null) return;
try
{
try
{
var killMethod = chainSequenceObj.GetType().GetMethod("Kill", new[] { typeof(bool) });
killMethod?.Invoke(chainSequenceObj, new object[] { false });
}
catch
{
// Ignore reflection errors
}
chainSequenceField.SetValue(null);
var killMethod = chainSequenceObj.GetType().GetMethod("Kill", new[] { typeof(bool) });
killMethod?.Invoke(chainSequenceObj, new object[] { false });
}
catch
{
// Ignore reflection errors
}
chainSequenceField.SetValue(null);
}
}
}
+2 -1
View File
@@ -1,10 +1,11 @@
using System;
using System.Text;
using ADOFAIRenderer.Component;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
namespace ADOFAIRenderer.Component
namespace ADOFAIRenderer.UI
{
public class DebugMonitorUI : MonoBehaviour
{
+2 -1
View File
@@ -1,9 +1,10 @@
using System.Diagnostics;
using ADOFAIRenderer.Component;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
namespace ADOFAIRenderer.Component
namespace ADOFAIRenderer.UI
{
public class EscapeHandlerUI : MonoBehaviour
{