Open insominx opened 2 years ago
There is an option to only render outlines for specific game objects, this looks like what you need.
I have an issue that could be described this way.
When using the OutlineLayerCollection functionality, any renderer on child GameObjects also receives the outlines, not just the renderer directly on the GameObject. While I can think of cases where you'd want this, it would be great to have an option in the OutlineSettings to include children or not. This was easy to do when just using the LayerMask method, but it doesn't work when using the OutlineLayerCollection.
The current method requires using layer masks which is fine if an application is not using layers for any other functionality. Unfortunately for most real-world applications this is not the case. There should instead be an easy way to toggle on/off this kind of behavior.