unity if enum dropdown is code example Example: unity enum in inspector enum MyEnum{myEnum1,myEnum2,myEnum3};