You are on page 1of 1

==== Installation ====

1. Launch WorldBox.
2. Ensure Experimental Mode is enabled in settings.
3. Close Game.
4. Navigate to "C:\Program Files (x86)\WorldBox\worldbox_Data\StreamingAssets\Mods"
5. Drop the HLoader.dll and HLoader Folder into the directory.
6. Relaunch game. HLoader and Harmony should be installed.

0. Place all mods the use Harmony as a dependency into "C:\Program Files (x86)\
WorldBox\worldbox_Data\StreamingAssets\Mods\HLoader\Complex Mods\"

==== Credits ====


https://github.com/pardeike/Harmony/releases

==== Developers ====


- There is no naming convention when it comes to building your application
- The only thing required is a Loader Class with a Load() or Attach() Function.
- Example of Function Below.

using System;
using UnityEngine;

namespace YourModNamespace
{
public class Loader
{
public static void Load()
{
if (Loader.gameobject == null)
{
Loader.gameobject = new GameObject();
Loader.gameobject.AddComponent<TheClassYouWantToLoad>();
UnityEngine.Object.DontDestroyOnLoad(Loader.gameobject);
}
}
public static GameObject gameobject;
}
}

You might also like