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.

26 lines
435 B

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