Define.cs 537 B

1234567891011121314151617181920212223242526272829
  1. namespace Model
  2. {
  3. public static class Define
  4. {
  5. #if UNITY_EDITOR && !ASYNC
  6. public static bool IsAsync = false;
  7. #else
  8. public static bool IsAsync = true;
  9. #endif
  10. #if UNITY_EDITOR
  11. public static bool IsEditorMode = true;
  12. #else
  13. public static bool IsEditorMode = false;
  14. #endif
  15. #if DEVELOPMENT_BUILD
  16. public static bool IsDevelopmentBuild = true;
  17. #else
  18. public static bool IsDevelopmentBuild = false;
  19. #endif
  20. #if ILRuntime
  21. public static bool IsILRuntime = true;
  22. #else
  23. public static bool IsILRuntime = false;
  24. #endif
  25. }
  26. }