How to draw HUD in editor?

This is because the engine class SLevelEditor does not have the “LEVELEDITOR_API” macro, thus anything outside the LevelEditor Module cannot call functions of that class.