0
Wird überprüft
Renaming a property resets its value
By default, renaming a property resets its value. And I was wondering if there could be a way to avoid that behavior as it can be frustrating after renaming a bunch of properties at once to have to redo all the work.
I don't know if it's technically feasible (as it would mean tracking the name variables that have been renamed, remembering their settings and applying those again after the rename operation), but it would be very nice if it were...
I don't know if it's technically feasible (as it would mean tracking the name variables that have been renamed, remembering their settings and applying those again after the rename operation), but it would be very nice if it were...
Customer support service by UserEcho
There may be a nice way of actually doing this. I would need to loop through all materials in the scene and grab the stored values, then rename it, then loop through and reassign the broken links.
It could possibly work for code as well, replacing all the material.SetVector("_MyProperty") etc.