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

Sets the component component for entity with value if the new value is different from the current value