mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-15 13:57:31 +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;
|
return;
|
||||||
|
|
||||||
#if ML
|
#if ML
|
||||||
MelonLoader.MelonLogger.Log(message?.ToString());
|
MelonLoader.MelonLogger.Msg(message?.ToString());
|
||||||
#elif BIE
|
#elif BIE
|
||||||
ExplorerBepInPlugin.Logging?.LogMessage(message?.ToString());
|
ExplorerBepInPlugin.Logging?.LogMessage(message?.ToString());
|
||||||
#elif STANDALONE
|
#elif STANDALONE
|
||||||
@ -215,7 +215,7 @@ namespace UnityExplorer
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
#if ML
|
#if ML
|
||||||
MelonLoader.MelonLogger.LogWarning(message?.ToString());
|
MelonLoader.MelonLogger.Msg(message?.ToString());
|
||||||
#elif BIE
|
#elif BIE
|
||||||
ExplorerBepInPlugin.Logging?.LogWarning(message?.ToString());
|
ExplorerBepInPlugin.Logging?.LogWarning(message?.ToString());
|
||||||
#elif STANDALONE
|
#elif STANDALONE
|
||||||
@ -231,7 +231,7 @@ namespace UnityExplorer
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
#if ML
|
#if ML
|
||||||
MelonLoader.MelonLogger.LogError(message?.ToString());
|
MelonLoader.MelonLogger.Msg(message?.ToString());
|
||||||
#elif BIE
|
#elif BIE
|
||||||
ExplorerBepInPlugin.Logging?.LogError(message?.ToString());
|
ExplorerBepInPlugin.Logging?.LogError(message?.ToString());
|
||||||
#elif STANDALONE
|
#elif STANDALONE
|
||||||
|
@ -20,7 +20,7 @@ namespace UnityExplorer
|
|||||||
ExplorerCore.Update();
|
ExplorerCore.Update();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void OnLevelWasLoaded(int level)
|
public override void OnSceneWasLoaded(int buildIndex, string sceneName)
|
||||||
{
|
{
|
||||||
ExplorerCore.Instance.OnSceneLoaded();
|
ExplorerCore.Instance.OnSceneLoaded();
|
||||||
}
|
}
|
||||||
|
@ -116,8 +116,8 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<!-- MelonLoader Mono refs -->
|
<!-- MelonLoader Mono refs -->
|
||||||
<ItemGroup Condition="'$(IsMelonLoader)|$(IsCpp)'=='true|false'">
|
<ItemGroup Condition="'$(IsMelonLoader)|$(IsCpp)'=='true|false'">
|
||||||
<Reference Include="MelonLoader.ModHandler">
|
<Reference Include="MelonLoader">
|
||||||
<HintPath>..\lib\MelonLoader.ModHandler.dll</HintPath>
|
<HintPath>..\lib\MelonLoader.dll</HintPath>
|
||||||
<Private>False</Private>
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
@ -134,8 +134,8 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<!-- MelonLoader Il2Cpp refs -->
|
<!-- MelonLoader Il2Cpp refs -->
|
||||||
<ItemGroup Condition="'$(IsMelonLoader)|$(IsCpp)'=='true|true'">
|
<ItemGroup Condition="'$(IsMelonLoader)|$(IsCpp)'=='true|true'">
|
||||||
<Reference Include="MelonLoader.ModHandler">
|
<Reference Include="MelonLoader">
|
||||||
<HintPath>$(MLCppGameFolder)\MelonLoader\MelonLoader.ModHandler.dll</HintPath>
|
<HintPath>$(MLCppGameFolder)\MelonLoader\MelonLoader.dll</HintPath>
|
||||||
<Private>False</Private>
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="UnhollowerBaseLib">
|
<Reference Include="UnhollowerBaseLib">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user