Browse Source

Make backward compatible.

tags/3.0c
Eusth 7 years ago
parent
commit
687135d55f
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      IllusionInjector/Bootstrapper.cs

+ 4
- 0
IllusionInjector/Bootstrapper.cs View File

@@ -10,6 +10,10 @@ namespace IllusionInjector
{
public event Action Destroyed = delegate {};

void Start()
{
Destroy(gameObject);
}
void OnDestroy()
{
Destroyed();


Loading…
Cancel
Save