init(targetEntity:isEnabled:)
Creates a new set entity enabled action.
Declaration
init(targetEntity: ActionEntityResolution = .sourceEntity, isEnabled: Bool)Parameters
- targetEntity:
The entity to disable or enable.
- isEnabled:
A Boolean that you set to enable or disable the entity and its descendants.