mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-13 23:36:35 +08:00
29 lines
542 B
C#
29 lines
542 B
C#
#if ML
|
|
using System;
|
|
using MelonLoader;
|
|
|
|
namespace UnityExplorer
|
|
{
|
|
public class ExplorerMelonMod : MelonMod
|
|
{
|
|
public static ExplorerMelonMod Instance;
|
|
|
|
public override void OnApplicationStart()
|
|
{
|
|
Instance = this;
|
|
|
|
new ExplorerCore();
|
|
}
|
|
|
|
public override void OnUpdate()
|
|
{
|
|
ExplorerCore.Update();
|
|
}
|
|
|
|
public override void OnLevelWasLoaded(int level)
|
|
{
|
|
ExplorerCore.Instance.OnSceneLoaded();
|
|
}
|
|
}
|
|
}
|
|
#endif |