update
I went with materialOverride.. this is more performant right? :upsidedown:
if (_color == 0) { _skeletonRenderer.CustomMaterialOverride.Remove(_materialDefault); }
if (_color == 1) { _skeletonRenderer.CustomMaterialOverride[_materialDefault] = _materialPhase; }
update end
Hi guys
I have a question.
As the subject asks, how can I enable\disable the BOOL for outlines during runtime?
I tried looking through the shader, but don't see a boolean for the outline. :think:
I notice that turning it on in the inspector, actually changes the material. I wonder how this would affect performance. Would we be instancing a new material each time the outline is enabled \ disabled?