mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-15 05:48:12 +08:00
bump to MelonLoader 0.3.0
This commit is contained in:
parent
12cd718f12
commit
ce38e8ac50
Binary file not shown.
BIN
lib/MelonLoader.dll
Normal file
BIN
lib/MelonLoader.dll
Normal file
Binary file not shown.
@ -199,7 +199,7 @@ namespace UnityExplorer
|
||||
return;
|
||||
|
||||
#if ML
|
||||
MelonLoader.MelonLogger.Log(message?.ToString());
|
||||
MelonLoader.MelonLogger.Msg(message?.ToString());
|
||||
#elif BIE
|
||||
ExplorerBepInPlugin.Logging?.LogMessage(message?.ToString());
|
||||
#elif STANDALONE
|
||||
@ -215,7 +215,7 @@ namespace UnityExplorer
|
||||
return;
|
||||
|
||||
#if ML
|
||||
MelonLoader.MelonLogger.LogWarning(message?.ToString());
|
||||
MelonLoader.MelonLogger.Msg(message?.ToString());
|
||||
#elif BIE
|
||||
ExplorerBepInPlugin.Logging?.LogWarning(message?.ToString());
|
||||
#elif STANDALONE
|
||||
@ -231,7 +231,7 @@ namespace UnityExplorer
|
||||
return;
|
||||
|
||||
#if ML
|
||||
MelonLoader.MelonLogger.LogError(message?.ToString());
|
||||
MelonLoader.MelonLogger.Msg(message?.ToString());
|
||||
#elif BIE
|
||||
ExplorerBepInPlugin.Logging?.LogError(message?.ToString());
|
||||
#elif STANDALONE
|
||||
|
@ -20,7 +20,7 @@ namespace UnityExplorer
|
||||
ExplorerCore.Update();
|
||||
}
|
||||
|
||||
public override void OnLevelWasLoaded(int level)
|
||||
public override void OnSceneWasLoaded(int buildIndex, string sceneName)
|
||||
{
|
||||
ExplorerCore.Instance.OnSceneLoaded();
|
||||
}
|
||||
|
@ -116,8 +116,8 @@
|
||||
</ItemGroup>
|
||||
<!-- MelonLoader Mono refs -->
|
||||
<ItemGroup Condition="'$(IsMelonLoader)|$(IsCpp)'=='true|false'">
|
||||
<Reference Include="MelonLoader.ModHandler">
|
||||
<HintPath>..\lib\MelonLoader.ModHandler.dll</HintPath>
|
||||
<Reference Include="MelonLoader">
|
||||
<HintPath>..\lib\MelonLoader.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
@ -134,8 +134,8 @@
|
||||
</ItemGroup>
|
||||
<!-- MelonLoader Il2Cpp refs -->
|
||||
<ItemGroup Condition="'$(IsMelonLoader)|$(IsCpp)'=='true|true'">
|
||||
<Reference Include="MelonLoader.ModHandler">
|
||||
<HintPath>$(MLCppGameFolder)\MelonLoader\MelonLoader.ModHandler.dll</HintPath>
|
||||
<Reference Include="MelonLoader">
|
||||
<HintPath>$(MLCppGameFolder)\MelonLoader\MelonLoader.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnhollowerBaseLib">
|
||||
|
Loading…
x
Reference in New Issue
Block a user