Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

GameObject.active is obsolete

$
0
0
I'm trying to add GameObject.SetActiveRecursively and .active to my PickUp script, but I can't use them at all. In place of those two are .SetActive() which is fine, but I need .active or something that serves the same function as it. .activeSelf, and .activeInHierarchy won't work either. It just says read only. Any help? I'm using Unity 4 if that helps

Viewing all articles
Browse latest Browse all 7934

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>