In the case you linked, it's an enum, so something like:
enum Mode { Spherical, Linear }
for declaring the enum, then:
var mode : Mode;
for the variable declaration which will be shown in the inspector
↧