A fork of Eusth's IPA
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

31 行
659B

  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 Awake()
  12. {
  13. if (Environment.CommandLine.Contains("--verbose") && (!Screen.fullScreen || Environment.CommandLine.Contains("--ipa-console")))
  14. {
  15. Windows.GuiConsole.CreateConsole();
  16. }
  17. }
  18. void Start()
  19. {
  20. Destroy(gameObject);
  21. }
  22. void OnDestroy()
  23. {
  24. Destroyed();
  25. }
  26. }
  27. }