Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a better method to prevent children from receiving outlines #57

Open
insominx opened this issue Jul 11, 2022 · 2 comments
Open

Need a better method to prevent children from receiving outlines #57

insominx opened this issue Jul 11, 2022 · 2 comments

Comments

@insominx
Copy link

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.

@insominx insominx changed the title Need a better to prevent children from receiving outlines Need a better method to prevent children from receiving outlines Jul 11, 2022
@Arvtesh
Copy link
Owner

Arvtesh commented Dec 11, 2022

There is an option to only render outlines for specific game objects, this looks like what you need.

@tony-topper
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants