Show inspector variable depending on enum selection?

Hi, I’m new to unity programming and have a lot of public variables for enum types. I want to hide unwanted variables for a selected enum type. Is there any way to show variables depending on the enum selected and hide remaining other variables.

Yes you can, but you have to implement a CustomEditor for your script type. Without more information on how your class looks like we can’t suggest any concrete here. We don’t even know what language you’re using :wink: