Skip to content

Layer/Tag Users #33

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

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from
Draft

Layer/Tag Users #33

wants to merge 16 commits into from

Conversation

mtschoen-unity
Copy link
Collaborator

Purpose of this PR

Add utilities for auditing project/scene usage of layers and tags

Testing status

Tested during release prep

Technical risk

Low -- Adds a handful of self-contained windows

Comments to reviewers

As always, a quick side-bar turned into a weekend's worth of work! 😅
I'm pretty happy with where I've gotten these utility windows functionality-wise, but there is a ton of duplicated code which I'd like to take a crack at unifying. The MissingReferenceswindow utilities are a good start at this, but I'd like to create a new AnalysisWindow base class and supporting Folder, GameObjectContainer, ComponentContainer, etc. base classes which all of these utilities (along with SolidColorTextures) can share. The current design also violates MVC in places but I think this gets much closer to MVC with the CreateIfNeccessary methods cleanly breaking out the analysis/generation portion from the UI. I just need to move these methods out of their respective classes.

The .plan file lays out most of what I want to do before I take this one out of draft. I'd like to land #31 ahead of that as well so I can include it in the refactor. Still, I thought it would be nice to share my current progress in case anyone finds it useful. Some screenshots of the current state:
image
image
image
image

@mtschoen-unity mtschoen-unity self-assigned this May 31, 2022
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

Successfully merging this pull request may close these issues.

1 participant