More elegant, possibly more optimized.
Ref: https://community.bistudio.com/wiki/inGameUISetEventHandler
Related T169040