I asked this question yesterday, but I didn’t word it very well, so I thought I’d try again! ![]()
Basically, I want to have a flag (boolean variable) show up in the inspector, and if selected, more options show up. If it’s not selected, those options are hidden.
I tried the following, but it doesn’t work.
var flag = false;
if (!flag)
@HideInInspector
var myVar = something;