Question by
dustypantz · Jun 26, 2019 at 10:25 PM ·
assetresourcesresources.load
How to load prefabs with path?
Problem: I want to cache prefabs to be instantiated.
Known solutions:
Resources.Load but I don't want to create unnecessary folders just for a function.
AssetDatabase.LoadAssetAtPath can load a single prefab but doesn't load all assets in a folder.
Manually track a list of go's on a manager which is tedious and not really viable.
I am looking to cache all prefabs in a folder without having to add the resources folder. Can it be done?
Comment