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

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