13 if (!IsValidEntityType(editableEntity.GetEntityType()))
16 IEntity owner = editableEntity.GetOwner();
25 if (damageComponent.GetState() ==
EDamageState.DESTROYED)
31 override void WriteVariable(Managed item,
SCR_BaseEditorAttributeVar var, SCR_AttributesManagerEditorComponent manager,
int playerID)
37 IEntity owner = editableEntity.GetOwner();
45 if (damageComponent.GetState() ==
EDamageState.DESTROYED)
48 damageComponent.EnableDamageHandling(var.GetBool());
51 override int GetEntries(notnull array<ref SCR_BaseEditorAttributeEntry> outEntries)