- Home /
Resources.Load renaming/moving resources.
What are good ways to rename/move resources in the resource folder without having to also manually rename all uses of those resources in code?
Comment
The best solution I've been able to come up with is to have a static class with a list(s) of strings, one for each resources name, and then my resource.load calls would have the string variable for that resource passed in. That way, if I want to rename or move a resource, I still have to rename it in code, but only in one place; the static class. I could also rename the variable and have all scripts that use it automatically update accordingly.
But I feel like there should be a better solution...