A fork of Eusth's IPA
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Bootstrapper.cs 389B

8 years ago
8 years ago
12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using UnityEngine;
  6. namespace IllusionInjector
  7. {
  8. class Bootstrapper : MonoBehaviour
  9. {
  10. public event Action Destroyed = delegate {};
  11. void Start()
  12. {
  13. Destroy(gameObject);
  14. }
  15. void OnDestroy()
  16. {
  17. Destroyed();
  18. }
  19. }
  20. }