Quantcast
Channel: Answers by "TobiasP"
Viewing all articles
Browse latest Browse all 72

Answer by TobiasP

$
0
0
There are multiple ways! GameObject.FindGameObjectWithTag(); GameObject.FindGameObjectOfType<>(); Resources.Load(); The third one you need to make a folder called "Resources". Say you have a folder inside "Resources" called Prefabs. So to load this you would: Resources.Load("Prefabs/myPrefab") Hope this helps!! P.S. Yes, I use to also use Drag + Drop. Im so glad I stopped =]

Viewing all articles
Browse latest Browse all 72

Trending Articles



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