[System.Flags]
public enum TestEnum{
None = 0,
Rooms = 1 << 1,
Walls=1<<2,
Objects=1<<3,
Slabs = 1 << 4,
All = Rooms|Walls|Objects|Slabs
}
TestEnum test = TestEnum.Rooms;
bool isRooms = (test.input & TestEnum.Rooms ) != TestEnum.None;