mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-04 04:22:53 +08:00
37 lines
694 B
C#
37 lines
694 B
C#
![]() |
#if ML
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using MelonLoader;
|
|||
|
|
|||
|
namespace Explorer
|
|||
|
{
|
|||
|
public class Explorer_MelonMod : MelonMod
|
|||
|
{
|
|||
|
public static Explorer_MelonMod 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
|