Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make backward compatible.
  • Loading branch information
Eusth committed Dec 15, 2016
1 parent 9d83342 commit 687135d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions IllusionInjector/Bootstrapper.cs
Expand Up @@ -10,6 +10,10 @@ class Bootstrapper : MonoBehaviour
{
public event Action Destroyed = delegate {};

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

0 comments on commit 687135d

Please sign in to comment.