SW 중심대학 OSS GIT 서버 박건태, 이승준, 고기완, 이준호 새로운 배포
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.

21 lines
418 B

4 years ago
  1. using System;
  2. namespace UnityEngine.TestTools
  3. {
  4. [Flags]
  5. [Serializable]
  6. public enum TestPlatform : byte
  7. {
  8. All = 0xFF,
  9. EditMode = 1 << 1,
  10. PlayMode = 1 << 2
  11. }
  12. internal static class TestPlatformEnumExtensions
  13. {
  14. public static bool IsFlagIncluded(this TestPlatform flags, TestPlatform flag)
  15. {
  16. return (flags & flag) == flag;
  17. }
  18. }
  19. }