HotPatchEntry.cs 358 B

12345678910111213141516
  1. using UnityEngine;
  2. using UnityEngine.Scripting;
  3. namespace HexaCrazy
  4. {
  5. [Preserve]
  6. public static class HotPatchEntry
  7. {
  8. [Preserve]
  9. public static void StartGame()
  10. {
  11. if (Object.FindAnyObjectByType<HexGameApp>() != null) return;
  12. new GameObject("HexaCrazy").AddComponent<HexGameApp>();
  13. }
  14. }
  15. }