Open PanHoracy opened 1 year ago
Have you tried the data controller? It is good at creating quick UI, I believe it will suit your needs.
The data Controller can be useful, but not in every situation. Adding things to it adds clutter to the inspector, especially if you have many things that you want to control with it.
Sometimes you need to use some expressions or run some functions, or when debugging, you have to create quick access to some expressions, that you didn't program before, and you won't use later either. I guess the better tool that can go in place of it is using keyboard shortcuts. This, though, is not very ergonomic when dealing with a bigger amount of expressions that you want to use.
Anyway, I did look into the expression monitor implementation, and hacked buttons into it. It was fairly easy, not ideal though, as expression monitor wasn't coded to handle those, but it works for me.
A little GIF of how it works (and how I would imagine it would be implemented, if it were to be):
The data Controller can be useful, but not in every situation. Adding things to it adds clutter to the inspector, especially if you have many things that you want to control with it.
Sometimes you need to use some expressions or run some functions, or when debugging, you have to create quick access to some expressions, that you didn't program before, and you won't use later either. I guess the better tool that can go in place of it is using keyboard shortcuts. This, though, is not very ergonomic when dealing with a bigger amount of expressions that you want to use.
Anyway, I did look into the expression monitor implementation, and hacked buttons into it. It was fairly easy, not ideal though, as expression monitor wasn't coded to handle those, but it works for me.
A little GIF of how it works (and how I would imagine it would be implemented, if it were to be):
Thanks for your effort! Currently your solution is to add an add button
button to all groups, but there's a play button to start/stop monitoring expressions, which may cause confusion. My suggestion is to add a new button at the bottom called Add New Button Group
and change Add New Group
to Add New Monitor Group
. The button group can only create expression buttons and has no start/stop button, how do you like it?
Are they any chances of reintroducing expression buttons, or something that would fill its role?
Is your feature request related to a problem? Please describe. I often used older versions of Panku to quickly create runtime debug menus, that I would use instead of creating temporary UI just for this sake.
Describe the solution you'd like It could be implemented in expression monitor, as some additional button when editing an expression that would convert it from monitor to button. The other approach would be to create a new module for it, which could be dedicated just for that. One could be a bit cumbersome, or bloat expression monitor, the second would require more time I presume.
Describe alternatives you've considered I considered creating a module just for myself, or to edit the current implementation of expression monitor, but I figured I might as well ask before doing that, If there are chances/plans for return of that feature.