Quantcast
Channel: Questions in topic: "choose"
Viewing all articles
Browse latest Browse all 81

is there a way to change the public inspector details at runtime

$
0
0
im curious if this can be done public bool useStatic; public GameObject[] staticOjects; public GameObject[] nonStaticObjects; so that if useStatic = true; , then only staticOjects would show in the inspector and if useStatic = false; , then only nonStaticOjects would show in the inspector this is a simple version of what i would like to be able to do

Viewing all articles
Browse latest Browse all 81

Trending Articles