Rizu/Rizu.MonoMod/patch_AmManager.cs

22 lines
528 B
C#
Raw Permalink Normal View History

2024-05-21 20:29:18 +00:00
// ReSharper disable CheckNamespace
// ReSharper disable InconsistentNaming
using Rizu.Core;
2024-05-21 20:29:18 +00:00
using UnityEngine;
namespace Manager;
public class patch_AmManager : AmManager
{
private extern void orig_Execute_WaitAmDaemonReady();
private void Execute_WaitAmDaemonReady()
{
var go = new GameObject { name = "Rizu" };
go.AddComponent<Rizu.MonoMod.RizuMonoBehaviour>();
Exporter.Instance.LoadConfig();
2024-05-21 20:29:18 +00:00
orig_Execute_WaitAmDaemonReady();
}
}