- Home /
Question by
stick_penguin · Aug 23, 2013 at 09:53 PM ·
instantiatetransformprefab
Accessing prefabs
Hello everyone, I was just wondering if there was a way to access prefabs in a scrip by using a file path, not by assigning them manually in the inspector.
Example of what I'm looking for:
var myPrefab: Transform = /Assets/myPrefab
Thanks!
Comment
Best Answer
Answer by AlucardJay · Aug 23, 2013 at 09:54 PM
@stick_penguin I've given you some karma so you can vote up (thumbs up) this answer as well. Anything that helps / resolves your problem, please accept AND vote up. Tell anyone you know lol, happy developing!