Hi all,
I’ve been trying to kind of come up with a “preset” system for materials/shader settings that can be accessed via scripts. I wanted it to be a bit more dynamic than just manually setting every value line by line in a script, and I know that Unity does have a preset system in 2018+ but I’ve not seen any scripting documentation for it and it seems like a glorified material clone. I was wondering what the best way to go about this was?
I thought originally to just overwrite the properties in the .mat, but it seems like what is actually in the .mat file and what is configured in the shader are not always 1:1 (and, on top of that, i have keywords to take into account). Any thoughts would be appreciated! Much thanks.