Class UnityChainloader
The manager and loader for all plugins, and the entry point for BepInEx plugin system.
Namespace: BepInEx.Unity.Mono.Bootstrap
Assembly: BepInEx.Unity.Mono.dll
Syntax
public class UnityChainloader : BaseChainloader<BaseUnityPlugin>
Properties
Declaration
protected override string ConsoleTitle { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
BepInEx.Bootstrap.BaseChainloader<BepInEx.Unity.Mono.BaseUnityPlugin>.ConsoleTitle
Declaration
public static UnityChainloader Instance { get; set; }
Property Value
Type | Description |
---|---|
UnityChainloader |
The GameObject that all plugins are attached to as components.
Declaration
public static GameObject ManagerObject { get; }
Property Value
Type | Description |
---|---|
GameObject |
Methods
Declaration
public override void Initialize(string gameExePath = null)
Parameters
Type | Name | Description |
---|---|---|
System.String |
gameExePath |
Overrides
BepInEx.Bootstrap.BaseChainloader<BepInEx.Unity.Mono.BaseUnityPlugin>.Initialize(System.String)
Declaration
protected override void InitializeLoggers()
Overrides
BepInEx.Bootstrap.BaseChainloader<BepInEx.Unity.Mono.BaseUnityPlugin>.InitializeLoggers()
Declaration
public override BaseUnityPlugin LoadPlugin(PluginInfo pluginInfo, Assembly pluginAssembly)
Parameters
Type | Name | Description |
---|---|---|
PluginInfo |
pluginInfo |
|
System.Reflection.Assembly |
pluginAssembly |
Returns
Type | Description |
---|---|
BaseUnityPlugin |
Overrides
BepInEx.Bootstrap.BaseChainloader<BepInEx.Unity.Mono.BaseUnityPlugin>.LoadPlugin(BepInEx.PluginInfo, System.Reflection.Assembly)
Declaration
[Obsolete("This method is public due to a limitation with Unity 4.x. DO NOT CALL", true)]
public static void StaticStart(string gameExePath = null)
Parameters
Type | Name | Description |
---|---|---|
System.String |
gameExePath |