How can I get equipped weapon GameObject?

How can I find and get equipped weapon GameObject in slots for UCC. For the Equipper script, I found it by slot index: m_Slots[index].ItemObject.gameObject. I would really appreciate it, it's just that we're using the outline system and I'm adding Renderers equipped items to the character map renderers.
 
Take a look at this page which has an example of getting the current item under item amounts:


From there you can get the first/third person perspective item and the corresponding visible object.
 
I was inattentive, by subscribing to events, we get item, and GetVisibleObject can be called from it.

C#:
EventHandler.RegisterEvent<Item, int>(_gameObject, EventNames.InventoryEquipItem, OnEquipItem);
EventHandler.RegisterEvent<Item, int>(_gameObject, EventNames.InventoryUnequipItem, OnUnequipItem);

private void OnUnequipItem(Item item, int index) =>
    RemoveVisibleObject(item.GetVisibleObject());
 
Top