AddWeaponUI(WeaponData:BP_WeaponData)
Adds Weapon UI to screen based on inserted Weapon Data parameter
Actions
- Calls ClearWeaponUI() to clear the weapon UI currently on screen.
- Get Weapon UI from Weapon Data.
- Sets Current Weapon UI variable.
- Creates UI widget and adds it to the player's viewport.
- Returns User Widget object reference.