Browse Source

Remove debug message in startup

tags/v4.0.0-tb
NGnius (Graham) 3 years ago
parent
commit
50f4647d25
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      IllusionInjector/CompositePlugin.cs

+ 2
- 1
IllusionInjector/CompositePlugin.cs View File

@@ -20,7 +20,6 @@ namespace IllusionInjector

public void OnApplicationStart()
{
Debug.LogWarning($"OnApplicationStart Test Warning");
Invoke(plugin => plugin.OnApplicationStart(), "OnApplicationStart");
}

@@ -37,8 +36,10 @@ namespace IllusionInjector
try
{
callback(plugin);
#if DEBUG
if (!string.IsNullOrEmpty(name))
Debug.LogWarning($"Executed {name} for plugin {plugin.Name}");
#endif
}
catch (Exception ex)
{


Loading…
Cancel
Save