I want to display a text message in the editor, something like this:
at runtime?
may you be more specific?
Not runtime.
I have a function that is callable from the editor and when called I simply want to display a message (just like the one when you possess a camera in the editor)
Try the Editor Utility Widget:
I was thinking about using that, but to open an Editor Utility Widget and display it, you have to do it manually. Do you know of a way I can open it with code? something like “Create Widget & Add to Viewport” but for Utility Widgets.
There is not afaik, most likely due to the way viewport works outside PIE.
You could add a text render component, or even a widget component but it would need to be world space. Could this work?
1 Like
Ha, clever idea. Yes I can use that, thank you!
1 Like