Hi,
I want to add logical components to UI elements like it does with nodes, so I can control their behavior flexibly.
For example, I want to add various logical components to Button.
One way is using multi-inherit from both Node and Button, but I haven’t tested it;
Another way is creating corresponding nodes for each UI element, then add logical components to the corresponding nodes, it works, but I have to synchronize their status manually.
I don’t know if it exists better way to achieve this.
Thank you.