mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-16 14:17:51 +08:00
33 lines
619 B
C#
33 lines
619 B
C#
#if ML
|
|
using MelonLoader;
|
|
|
|
namespace UnityExplorer
|
|
{
|
|
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 |