Dreadrith / HierarchyPlus

A general improvement to the unity hierarchy such as component icons, guide lines, row coloring and settings for customization.
GNU General Public License v3.0
35 stars 4 forks source link

Added settings.dragToggle, enabling users to toggle this feature. #8

Closed JustBuddy closed 5 months ago

JustBuddy commented 5 months ago

This PR is me trying to do C#, adding an option to toggle the new drag toggling. While my PR works, it is probably not 100% in line with how you do stuff. Feel free to adjust, I am still learning. 😄

JustBuddy commented 5 months ago

https://github.com/Dreadrith/HierarchyPlus/pull/8/commits/041c8de712b5126784f07c1592d27bf5583d8376#diff-26f8606dd5d051e7df392a340fdd122cdcc794a274d24650bbdcc05720cb97bdR604 This if statement, while odd, was the only way I could get it to do what I wanted.

JustBuddy commented 5 months ago

This needs a Refresh when changed, else it isn't applied immediately. Placing the if statement at the ACTUALLY correct location will probably fix that.

JustBuddy commented 5 months ago

Resolved a conflict with b60a23a