- Home /
Get path to loaded resource.
Greetings!
Is it possible to get the path to a resource loaded by Resources.LoadAll?
I am building an editor plugin, in which, as one of many features you can browse through the resources folder. To save the chosen resource, I need the path as a string, so it can be found, by the script in the future.
Thanks!
Answer by Korahan · Jun 04, 2018 at 12:33 AM
The solution is quite easy. Since you already have the folder path (used for Resources.LoadAll) you can add the objects name to complete the path.
Your answer
Follow this Question
Related Questions
Resources.Load folders path? 2 Answers
Loading in Sprites outside of unity? 1 Answer
Resources.Load dynamic path 2 Answers
How do I get a list of filenames in a Resources folder? 6 Answers
Resources.LoadAsync() loads only one resources in the background? 0 Answers