03-10-2020, 10:37 PM
After testing, I found that you will need, in the case of modifying the material settings via API, to mark the module Dirty by hand. Most properties changes do dirty the module automatically. When a module is not dirty, calling refresh on it will do nothing.
So just add _buildVolumeMesh.Dirty = true;
before
_buildVolumeMesh.Refresh();
have a nice day
So just add _buildVolumeMesh.Dirty = true;
before
_buildVolumeMesh.Refresh();
have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.