diff --git a/IllusionInjector/Bootstrapper.cs b/IllusionInjector/Bootstrapper.cs index 43219e9..030f307 100644 --- a/IllusionInjector/Bootstrapper.cs +++ b/IllusionInjector/Bootstrapper.cs @@ -10,6 +10,10 @@ namespace IllusionInjector { public event Action Destroyed = delegate {}; + void Start() + { + Destroy(gameObject); + } void OnDestroy() { Destroyed();