4 protected TextWidget m_wText;
8 protected int m_iExtendedPrefabsCount;
13 if (m_iExtendedPrefabsCount > 0)
14 m_wText.SetText(m_iExtendedPrefabsCount.ToString());
16 m_wText.SetText(
string.Empty);
20 protected int GetExtendedEntityCount()
22 m_ContentBrowserComponent.SetExtendedEntity(
m_Entity);
23 return m_ContentBrowserComponent.FilterExtendedSlots();
29 m_wText = TextWidget.Cast(widget);
33 if (!m_wText || !
m_Entity || !m_ContentBrowserComponent)
36 m_bShowLabel = m_iExtendedPrefabsCount > 0;