mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-23 00:52:31 +08:00
37 lines
692 B
C#
37 lines
692 B
C#
#if ML
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using MelonLoader;
|
|
|
|
namespace Explorer
|
|
{
|
|
public class ExplorerMelonMod : MelonMod
|
|
{
|
|
public static ExplorerMelonMod Instance;
|
|
|
|
public override void OnApplicationStart()
|
|
{
|
|
Instance = this;
|
|
|
|
new ExplorerCore();
|
|
}
|
|
|
|
public override void OnLevelWasLoaded(int level)
|
|
{
|
|
ExplorerCore.OnSceneChange();
|
|
}
|
|
|
|
public override void OnUpdate()
|
|
{
|
|
ExplorerCore.Update();
|
|
}
|
|
|
|
public override void OnGUI()
|
|
{
|
|
ExplorerCore.OnGUI();
|
|
}
|
|
}
|
|
}
|
|
#endif |