Modifier component. Add alongside a Sprite2DRenderer to override the
world space size computation.
Regular sprites have a base (untransformed) size that is computed as
image asset size times pixelsToWorldUnits.
When this component is added to an entity the base size is set explicitly,
and the image is placed inside that region depending on the repeat mode.
Sprite size in world units
This is used to override the computed natural sprite size.
The natural size is Image2D.imagePixelSize * Image2D.pixelsToWorldUnits * Sprite2D.imageRegion.size.
The new size is also used in hit testing.
Modifier component. Add alongside a Sprite2DRenderer to override the world space size computation. Regular sprites have a base (untransformed) size that is computed as image asset size times pixelsToWorldUnits. When this component is added to an entity the base size is set explicitly, and the image is placed inside that region depending on the repeat mode.