7 [
Attribute(
"0",
desc:
"One of the given labels should be on the Entity in order to dsiplay the tooltip", uiwidget: UIWidgets.SearchComboBox, enums: ParamEnumArray.FromEnum(
EEditableEntityLabel))]
8 protected ref array<EEditableEntityLabel> m_aLabelRequired;
10 [
Attribute(
"0",
desc:
"In which modes should the tooltip be shown", uiwidget: UIWidgets.SearchComboBox, enums: ParamEnumArray.FromEnum(
EEditorMode))]
11 protected ref array<EEditorMode> m_aShownInEditorModes;
16 if (
m_sDescription.IsEmpty() || m_aShownInEditorModes.IsEmpty() || m_aLabelRequired.IsEmpty())
20 if (!editorManager || !m_aShownInEditorModes.Contains(editorManager.GetCurrentMode()))
27 TextWidget text = TextWidget.Cast(widget);
36 if (editableUiInfo.HasEntityLabel(label))