mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
Make Chainloader static class
This commit is contained in:
1 parent
a99cfb2852
commit
886856c4aa
1 file changed
+3
-3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user