Quantcast
Channel: Questions in topic: "get"
Viewing all articles
Browse latest Browse all 215

Get GameObject from my prefabs.

$
0
0
so i need to load a GameObject from my Assets/_Prefabs folder I tried **Gameobject.find("Object_name");**, but no luck. I tried **PrefabUtility** , but no luck. I tried **Resources.Load("Object name")** still no luck... Want to note that setting **public GameObject TMP;** as a part of that class I dont want to! so what could be the answer?! (remember i am not instantiating it at that point, just need it as variable to pass on to other things!)

Viewing all articles
Browse latest Browse all 215

Trending Articles



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