pub fn add_component_if_required<T: SupportedValue>(
    entity: EntityId,
    component: Component<T>,
    value: T
)
Expand description

Adds the component with value to entity if entity does not already have that component.