mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-19 15:51:48 +00:00
28 lines
542 B
C#
28 lines
542 B
C#
using System;
|
|
using Il2CppInterop.Runtime.Attributes;
|
|
using Reactor.Utilities.Attributes;
|
|
using Reactor.Utilities.ImGui;
|
|
using UnityEngine;
|
|
|
|
namespace MiraAPI.Example;
|
|
|
|
[RegisterInIl2Cpp]
|
|
public class MiraDebugWindow(IntPtr cppPtr) : MonoBehaviour(cppPtr)
|
|
{
|
|
[HideFromIl2Cpp]
|
|
public DragWindow DebuggingWindow { get; } = new(
|
|
new Rect(10, 10, 0, 0),
|
|
"MIRA API DEBUGGING",
|
|
() =>
|
|
{
|
|
})
|
|
{
|
|
Enabled = true,
|
|
};
|
|
|
|
public void OnGUI()
|
|
{
|
|
DebuggingWindow.OnGUI();
|
|
}
|
|
}
|