New to UMG? Don’t know how to mix your game logic and UI? UMGPlus attempts to provide some convenient classes to help you out.
Create this in your game instance, but call it with ViewManager::Get(). Has caching/pooling for performance reasons. You no longer have to create your widget and add it to your viewport, you just give it your player controller, a widget class and (optionally) a context. Optionally tell it if you want to show your mouse.
You don’t have to use this for it to work with ViewManager, but it’s recommended. This stores and caches a Show, Idle and Close animation by name if you have them. These are automatically played when you show and close the widget.
Implement this if you want ViewManager to automatically inject a context. This only works with classes and not structs.