I have created a custom node in Godot Mono, and added it as a Theme type in the editor. I can query this in my
Draw() method, although I've encountered some issues.
Firstly, updating the theme resource doesn't update the node visually in real time. I've overcome this using
Update() for the exported variables, but is there something I can use to update my node when the theme is changed?
Secondly, am I able to add theme overrides for my custom node? It will be annoying needing to create a custom theme every time I want the node to look slightly different.
Any help much appreciated.
Solved the theme update issue by moving the theme fetching code from
Draw(). Now it's just the second issue.