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

Repaint Hierarchy on EditorApplication.update #16

Open JustBuddy opened 1 month ago

JustBuddy commented 1 month ago

https://github.com/user-attachments/assets/5be7451e-2f6f-4bf7-8b7b-9806a65284a7

Potentially fixes #14

Performance testing was fine on my end.

JustBuddy commented 1 month ago

Works in 2019 and 2022 Sample Scene with animator toggling, similar to the video. HPlus-TestScene-reference.zip

My exact scene from the video, requires SDK constraint beta (or later) HPlus-TestScene-SDKBETA.zip

Just hop into playmode and the animators will cycle as shown.

JustBuddy commented 1 month ago

Might want to put this in some kind of function so it is only invoked every so often, this approach calls it very often and might induce framerate penalties.