mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-24 01:12:41 +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 |