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

Visualize that a component is coming from a mixin #698

Open
vincentfretin opened this issue Jul 23, 2023 · 1 comment
Open

Visualize that a component is coming from a mixin #698

vincentfretin opened this issue Jul 23, 2023 · 1 comment

Comments

@vincentfretin
Copy link
Contributor

See #689 (comment) for the context where we have mixins setting a gltf-model component.
Currently in the right panel we don't visualize that a component is coming from a mixin and that removing a mixin will remove associated components. Changing background color could be an enhancement here.

@vincentfretin
Copy link
Contributor Author

If you know how Unity prefab works, you can see prefab instance as blue, and you can see the overrides you have on it
https://youtu.be/PSKKQKr2bnA?t=352
prefab is at the entity level, mixin is a bit similar, but more granular as a set of components.

What I had in mind was to have a different color for each mixin and the associated components that it is setting:
Capture d’écran du 2023-07-24 09-50-23
If you change the gltf-model here is this screenshot, it would lose the blueviolet background color and maybe say overridden label next to it. That may not be the great example here with such a simple mixin setting gtlf-model, you would just remove the mixin, but you get the idea.

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

1 participant