UnityEditor-DarkMode
UnityEditor-DarkMode copied to clipboard
Feature request - support for progress bars
Hello 0x7c13, I really like this project and I love dark themes so I'm curious if you have any plans to add support for the progress bar as a big part of my time in Unity is yoinked away by it..
The OS I use Unity in is Windows 11 and I use Unity 6 these days but I've also tested it with 2021 and its the same there too.
Here is a preview of the interface element
Thanks in advance.
I foolishly didn't check an existing closed issue (#4) where you mention that it may not be possible, so feel free to close this if that is still the case
This is the last thing needed to be perfect, so I hope it can be explored. Just some ideas to find the window if it were plausible:
- Hook into the process that spawns the window to intercept and obtain the window
- The window could be found via the title since there's same titles for various actions ("Hold on", "Importing", etc.)
- The window always spawns in center relative to Editor window, with a specific/small size, window style has no close button
This is the last thing needed to be perfect, so I hope it can be explored. Just some ideas to find the window if it were plausible:
- Hook into the process that spawns the window to intercept and obtain the window
- The window could be found via the title since there's same titles for various actions ("Hold on", "Importing", etc.)
- The window always spawns in center relative to Editor window, with a specific/small size, window style has no close button
The window could be found via the title since there's same titles for various actions ("Hold on", "Importing", etc.) -> This is something I was thinking the other day as well.
The problem is not how but why. Current solution only register the hook for the Unity wnd/proc. To "fix" the build process window, we might need to do hook on OS level which is over kill. I am not so triggered by this small window since at least it is full white (consistent) vs half white half black (Unity window).
Also, since I haven't spent time on it, that particular window might be created by a background Unity worker thread. If we can located on which process it is, then maybe we can come up with a simpler solution.
For someone who is interested, this might be helpful: https://github.com/SFTRS/DarkTaskDialog