- Unity 2018.3 (or Incremental Compiler)
yarn add "umm/enum_flags#^1.0.0"
[System.Flags]
enum SomeType
{
Foo = 1 << 0,
Bar = 1 << 1,
Buz = 1 << 2,
Quz = 1 << 3,
}
[SerializaField]
[EnumFlags]
private SomeType someType;
Copyright (c) 2019 Tetsuya Mori
Released under the MIT license, see LICENSE.txt