Skip to content

Commit

Permalink
Update to Deli v0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash committed Dec 2, 2020
1 parent f866f45 commit acbd848
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
8 changes: 4 additions & 4 deletions WurstMod/Runtime/Entrypoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace WurstMod.Runtime
{
public class Entrypoint : DeliMod
public class Entrypoint : DeliBehaviour
{
void Awake()
{
Expand Down Expand Up @@ -53,9 +53,9 @@ void InitAppDomain()
public static ConfigEntry<bool> UseLegacyLoadingMethod;
void InitConfig()
{
ConfigQuickload = BaseMod.Config.Bind("Debug", "QuickloadPath", "", "Set this to a folder containing the scene you would like to load as soon as H3VR boots. This is good for quickly testing scenes you are developing.");
LoadDebugLevels = BaseMod.Config.Bind("Debug", "LoadDebugLevels", true, "True if you want the included default levels to be loaded");
UseLegacyLoadingMethod = BaseMod.Config.Bind("Debug", "UseLegacyLoadingMethod", true, $"True if you want to support loading legacy v1 or standalone levels from the {Constants.CustomLevelsDirectory} folder");
ConfigQuickload = Config.Bind("Debug", "QuickloadPath", "", "Set this to a folder containing the scene you would like to load as soon as H3VR boots. This is good for quickly testing scenes you are developing.");
LoadDebugLevels = Config.Bind("Debug", "LoadDebugLevels", true, "True if you want the included default levels to be loaded");
UseLegacyLoadingMethod = Config.Bind("Debug", "UseLegacyLoadingMethod", true, $"True if you want to support loading legacy v1 or standalone levels from the {Constants.CustomLevelsDirectory} folder");
}

private void SceneManager_sceneLoaded(Scene scene, LoadSceneMode mode)
Expand Down
3 changes: 3 additions & 0 deletions WurstMod/WurstMod.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@
<Reference Include="Deli">
<HintPath>..\Libs\Deli.dll</HintPath>
</Reference>
<Reference Include="Deli.Runtime">
<HintPath>..\Libs\Deli.Runtime.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
Expand Down
4 changes: 2 additions & 2 deletions WurstMod/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"guid": "wurstmod",
"version": "2.0.0.0",
"dependencies": {
"deli.core": "0.0.0.0"
"deli.core": "0.2.0"
},
"name": "WurstMod",
"authors": [
"Koba",
"Nathan Gill"
],
"assets": {
"runtime": {
"WurstMod.dll": "assembly"
}
}

0 comments on commit acbd848

Please sign in to comment.