I have searched everywhere but couldn’t find. Can you please tell me what exactly HUD is?
first coincidence in google
I have searched but non of them explains what HUD is.
It’s the class that handles UI bits drawn to the screen for the player during gameplay, such as health, ammo, etc. HUD stands for heads up display.
Also, most if not all of the HUD functionality has be pretty much supplanted by UMG (unreal motion graphics) which uses ‘widget’ classes to draw things to the player’s viewport and generally has a lot of niceties for you to use that were absent in the HUD class.
So simply HUD is a class which provides drawing UI elements to the screen?
Yes, that and Widget Blueprints allow you to draw and display elements on the Screen separate to the Scene itself.