Contains a set of updates to the component definition state of an entity.

interface DefinitionModifier {
    addedComponentGroups: string[];
    removedComponentGroups: string[];
    triggers: Trigger[];
}

Properties

addedComponentGroups: string[]

Retrieves the list of component groups that will be added via this definition modification.

removedComponentGroups: string[]

The list of component groups that will be removed via this definition modification.

triggers: Trigger[]

The list of entity definition events that will be fired via this update.