Rizu/Rizu.MonoMod/patch_AmManager.cs

22 lines
528 B
C#

// ReSharper disable CheckNamespace
// ReSharper disable InconsistentNaming
using Rizu.Core;
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();
orig_Execute_WaitAmDaemonReady();
}
}