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
449 B

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