Quantcast
Viewing latest article 12
Browse Latest Browse All 31

disable or remove enum entry from inspector

public enum MyEnum { MyEntry0, MyEntry1, MyEntry2, MyEntry3, MyEntry4 } public MyEnum myEnum; lets say i want to make sure that MyEntry0 and MyEntry3 are unselectable. whats the best way of doing that, without creating a seperate enum?

Viewing latest article 12
Browse Latest Browse All 31

Trending Articles