c# "combobox" like field in scipt

Hello.
Recently I’ve been doing some scripting. I’m kind of begginer when it comes to programming.
I was wondering how do I create field which is like “combobox”.
In example like in Rigidbody - Interpolation - I can’t find it in script.

It would be helpful in choosing some options in scripts I’m planning to create.

These can be created using an enum. Declare an enum, then have a public enum variable and it will give you a drop down menu in the inspector.