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!
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!