WooshiiDev/HierarchyDecorator

Feature Request - Show MonoBehaviour script icon for objects that contain scripts

Closed this issue · 5 comments

If there's already an option for this feature, excuse my clumsiness! Would appreciate if someone could show me how!

Feature Description
Showing MonoBehaviour icon for GameObjects that contain a script, without the need to specify each script in the settings. Simply have an MonoBehaviour derived class and it would show up in the hierarchy. Also, having only 1 icon as in the other feature request would be awesome!

Reason for feature
Quickly identifying what game object contains scripts (no matter which one) would also be an incredible help!

Hello nankink,
I'm linking to the pull request #67 as someone has went ahead and made this a feature addition.
There are some concerns about the codebase changes I've been working on, but either way this will be coming.

Edit: PR is currently closed but will be reopened when required.

Hello nankink,
I'm linking to the pull request #67 as someone has went ahead and made this a feature addition.
There are some concerns about the codebase changes I've been working on, but either way this will be coming.

Edit: PR is currently closed but will be reopened when required.

This is awesome!! To be honest, wasn't expecting that this would be added to the tool, and this fast.

I wish I could contribute to the project as well, but my knowledge in editor code is not a lot ://

Thanks a lot!

I've been working on a ton of stuff and will be getting ready to release a new version quite soon. Got some improvements to do but it's getting there.

Alright so I've added a small toggle to show a single MonoBehaviour script on each instance that has one.
To extend what already existed I've added two new buttons that will allow you to independently toggle on built-in components and custom one automatically.

HD_Show_Toggles_#2

How does this look? Did I get anything wrong? Also as @SiarheiPilat originally made a PR for this (I should have pulled it after being quiet for months), think its fair to ask how you feel about this too.

Should be released within the next few weeks, but it's currently on the develop branch. Would note that develop might be a little unstable if you upgrade from your current version to it; just in case you try it out.

This is such a nice addition! It helps a lot cleaning when things gets a lot of Unity's components yet you still want the components you made.
Thanks a hell lot!!

Hey there, gonna close this as I'm making a release later on today with the changes.
Sorry it took a while, but I appreciate you keeping in touch and also submitting this 🙏

  • Wooshii