Make Chainloader static class

This commit is contained in:
ghorsington committed 2019-01-19 12:22:59 +02:00
1 parent a99cfb2852
commit 886856c4aa
1 file changed
+3 -3
+3 -3
View File
@@ -15,17 +15,17 @@ namespace BepInEx.Bootstrap
/// <summary>
/// The manager and loader for all plugins, and the entry point for BepInEx plugin system.
/// </summary>
public class Chainloader
public static class Chainloader
{
/// <summary>
/// The loaded and initialized list of plugins.
/// </summary>
public static List<BaseUnityPlugin> Plugins { get; protected set; } = new List<BaseUnityPlugin>();
public static List<BaseUnityPlugin> Plugins { get; private set; } = new List<BaseUnityPlugin>();
/// <summary>
/// The GameObject that all plugins are attached to as components.
/// </summary>
public static GameObject ManagerObject { get; protected set; } = new GameObject("BepInEx_Manager");
public static GameObject ManagerObject { get; private set; } = new GameObject("BepInEx_Manager");
private static bool _loaded = false;