Maping UI Widgets is correct?

Hello there,

I’m not sure I’m doing stuff correctly:

Widget Text Access

Initialising Map in WIdget

I’m calling UpdateOreMap Event from GameMode whenever I’m adding new map element.
My question is - Is it right way to access different type of UI elements within one function/event?

This works for me, but I’m concern about optimisation.

Thx! :slightly_smiling_face: