Range attribute between set values

hey guys,

I wan to have a public integer (or byte) show up in the editor, but I want the user only to be able to choose between 32, 64 and 128. Is it possible to add this using an attribute or something or should I consider using an enumerator?
Thanks in advance

You could write a CustomEditor but that would be a lot of hassle for your purpose. So yes, I would recommend just using enums.