DropDown Menu In Inspector?

Hello,

I’m using JavaScript, and I want to know if there is a way to make a variable that has a drop down menu in the inspector?

Thanks

You can, using an enum as a variable it will automatically show up as a dropdown list. Alternatively you can make anything look like a dropdown if you write a custom inspector for your script.