1 [
EntityEditorProps(
category:
"GameScripted/Components", description:
"Component labeling entities and tracking their positions updates (if they are in editable composition)")]
5 protected ref array<EEditableEntityLabel> m_aEntityLabels;
11 bool GetEntityLabels(out notnull array<EEditableEntityLabel> labels)
16 labels.Copy(m_aEntityLabels);
19 return m_aEntityLabels !=
null;
36 array<EEditableEntityLabel> labels = {};
37 prefabData.GetEntityLabels(labels);
39 return labels.Contains(label);
55 IEntity owner = editableComponent.GetOwner();
59 SCR_EntityLabelPointComponent labelComponent = SCR_EntityLabelPointComponent.Cast(owner.FindComponent(SCR_EntityLabelPointComponent));
65 protected override void EOnInit(IEntity owner)
73 Print(
"SCR_EditableEntityCore not found! SCR_EntityLaberComponent won't be updated!", LogLevel.WARNING);