2020-09-27 22:04:23 +10:00
|
|
|
|
#if ML
|
|
|
|
|
using MelonLoader;
|
|
|
|
|
|
2020-11-03 20:59:13 +11:00
|
|
|
|
namespace UnityExplorer
|
2020-09-27 22:04:23 +10:00
|
|
|
|
{
|
2020-09-29 05:40:06 +10:00
|
|
|
|
public class ExplorerMelonMod : MelonMod
|
2020-09-27 22:04:23 +10:00
|
|
|
|
{
|
2020-09-29 05:40:06 +10:00
|
|
|
|
public static ExplorerMelonMod Instance;
|
2020-09-27 22:04:23 +10:00
|
|
|
|
|
|
|
|
|
public override void OnApplicationStart()
|
|
|
|
|
{
|
|
|
|
|
Instance = this;
|
|
|
|
|
|
|
|
|
|
new ExplorerCore();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void OnLevelWasLoaded(int level)
|
|
|
|
|
{
|
|
|
|
|
ExplorerCore.OnSceneChange();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void OnUpdate()
|
|
|
|
|
{
|
|
|
|
|
ExplorerCore.Update();
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-23 01:50:33 +11:00
|
|
|
|
//public override void OnGUI()
|
|
|
|
|
//{
|
|
|
|
|
// ExplorerCore.OnGUI();
|
|
|
|
|
//}
|
2020-09-27 22:04:23 +10:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|