/inspector-dropdown-editorGUIlayout.popup-

How do you add a dropdown to the Unity Inspector window for your script? You could use enum public variable type. But you can also use an array like I do in this tutorial here. I use a string array and a List collection. These are helpful if you don;t know what the contents of your array will be.

Primary LanguageC#

Stargazers