Basic Health Bar & Hit Text System handles many possible hit types and reflects them on the canvas. It gets world position of the game objects and scales them to the screen resolution to give correct location on the Canvas. Sample Scene shows how various hit types are shown and how this system shows bars and hit texts when camera is on the move.
Works with any screen resolution on a Canvas with "Screen Space - Overlay" or "Screen Space - Camera" render mode if Screen Match Mode of the Canvas Scaler is "Match Width or Height".