File tree Expand file tree Collapse file tree 5 files changed +10
-5
lines changed
BepInEx.Templates/templates
BepInEx6.PluginTemplate.NET.CoreCLR
BepInEx6.PluginTemplate.NET.Framework
BepInEx6.PluginTemplate.Unity.Il2Cpp
BepInEx6.PluginTemplate.Unity.Mono Expand file tree Collapse file tree 5 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 11using BepInEx ;
2+ using BepInEx . Logging ;
23
34namespace BepInEx5 . PluginTemplate ;
45
@@ -10,7 +11,7 @@ public class Plugin : BaseUnityPlugin
1011 private void Awake ( )
1112 {
1213 // Plugin startup logic
13- this . Logger = Logger ;
14+ Logger = base . Logger ;
1415 Logger . LogInfo ( $ "Plugin { MyPluginInfo . PLUGIN_GUID } is loaded!") ;
1516 }
1617}
Original file line number Diff line number Diff line change 11using BepInEx ;
2+ using BepInEx . Logging ;
23using BepInEx . NET . Common ;
34
45namespace BepInEx6 . PluginTemplate . NET . CoreCLR ;
@@ -11,7 +12,7 @@ public class Plugin : BasePlugin
1112 public override void Load ( )
1213 {
1314 // Plugin startup logic
14- this . Log = base . Log ;
15+ Log = base . Log ;
1516 Log . LogInfo ( $ "Plugin { MyPluginInfo . PLUGIN_GUID } is loaded!") ;
1617 }
1718}
Original file line number Diff line number Diff line change 11using BepInEx ;
2+ using BepInEx . Logging ;
23using BepInEx . NET . Common ;
34
45namespace BepInEx6 . PluginTemplate . NET . Framework ;
@@ -11,7 +12,7 @@ public class Plugin : BasePlugin
1112 public override void Load ( )
1213 {
1314 // Plugin startup logic
14- this . Log = base . Log ;
15+ Log = base . Log ;
1516 Log . LogInfo ( $ "Plugin { MyPluginInfo . PLUGIN_GUID } is loaded!") ;
1617 }
1718}
Original file line number Diff line number Diff line change 11using BepInEx ;
2+ using BepInEx . Logging ;
23using BepInEx . Unity . IL2CPP ;
34
45namespace BepInEx6 . PluginTemplate . Unity . Il2Cpp ;
@@ -11,7 +12,7 @@ public class Plugin : BasePlugin
1112 public override void Load ( )
1213 {
1314 // Plugin startup logic
14- this . Log = base . Log ;
15+ Log = base . Log ;
1516 Log . LogInfo ( $ "Plugin { MyPluginInfo . PLUGIN_GUID } is loaded!") ;
1617 }
1718}
Original file line number Diff line number Diff line change 11using BepInEx ;
2+ using BepInEx . Logging ;
23using BepInEx . Unity . Mono ;
34
45namespace BepInEx6 . PluginTemplate . Unity . Mono ;
@@ -11,7 +12,7 @@ public class Plugin : BaseUnityPlugin
1112 private void Awake ( )
1213 {
1314 // Plugin startup logic
14- this . Logger = base . Logger ;
15+ Logger = base . Logger ;
1516 Logger . LogInfo ( $ "Plugin { MyPluginInfo . PLUGIN_GUID } is loaded!") ;
1617 }
1718}
You can’t perform that action at this time.
0 commit comments