From acbd848b630423fd0e5e8aa219e3bfd4c590d1a2 Mon Sep 17 00:00:00 2001 From: Ash Date: Tue, 1 Dec 2020 23:53:39 -0600 Subject: [PATCH] Update to Deli v0.2 --- WurstMod/Runtime/Entrypoint.cs | 8 ++++---- WurstMod/WurstMod.csproj | 3 +++ WurstMod/manifest.json | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/WurstMod/Runtime/Entrypoint.cs b/WurstMod/Runtime/Entrypoint.cs index 553a780..a69300a 100644 --- a/WurstMod/Runtime/Entrypoint.cs +++ b/WurstMod/Runtime/Entrypoint.cs @@ -9,7 +9,7 @@ namespace WurstMod.Runtime { - public class Entrypoint : DeliMod + public class Entrypoint : DeliBehaviour { void Awake() { @@ -53,9 +53,9 @@ void InitAppDomain() public static ConfigEntry 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) diff --git a/WurstMod/WurstMod.csproj b/WurstMod/WurstMod.csproj index a098277..4a32766 100644 --- a/WurstMod/WurstMod.csproj +++ b/WurstMod/WurstMod.csproj @@ -54,6 +54,9 @@ ..\Libs\Deli.dll + + ..\Libs\Deli.Runtime.dll + diff --git a/WurstMod/manifest.json b/WurstMod/manifest.json index f928d6c..b2b4a53 100644 --- a/WurstMod/manifest.json +++ b/WurstMod/manifest.json @@ -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" } }