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.

30 lines
593 B

6 years ago
6 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. //if (Environment.CommandLine.Contains("--verbose"))
  14. //{
  15. Ipa.Injector.Windows.GuiConsole.CreateConsole();
  16. //}
  17. }
  18. void Start()
  19. {
  20. Destroy(gameObject);
  21. }
  22. void OnDestroy()
  23. {
  24. Destroyed();
  25. }
  26. }
  27. }