- Home /
Change Procedural Material Loading Behavior Through Script
Is it possible to not only get the loading behavior of a Substance Material, but also change it through an editor script?
I cant seem to figure it out right now. I would like to do something like this:
ProceduralMaterial myProceduralMat = substanceAssets[sharedMaterialName];
myProceduralMat.loadingBehavior = ProceduralLoadingBehavior.BakeAndKeep;
Is this a read only variable that can only be edited by clicking and editing the Substance in the editor?
I would like to be able to edit all of the procedural materials in my project through an editor script and change the loading behavior there instead of manually changing every one individuality.
Your answer

Follow this Question
Related Questions
Unity Ads service does not load in editor 0 Answers
Substances extremely slow down Editor 1 Answer
Unity Editor closes when loading my project 1 Answer
How to optimize load time when pressing the play button in the editor. 1 Answer
Editor doesn't load (some) dependencies with the scene, but standalone does? O_o 1 Answer