Skip to guide
Rainbow Lab/Documentation

Shape Foundry

Convert an existing Unity Image

Select the existing Image's GameObject and choose Component > UI > Foundry > Shape Foundry > Shape Image. The command replaces a compatible standard Unity UI Image rather than adding a second Graphic. It keeps the RectTransform's size, anchors, pivot, position, rotation and scale, along with the image's tint and alpha, pointer/masking settings, children, supported artwork and compatible Graphic references such as a Button's Target Graphic. On an object without a Graphic, the same command adds a Shape Image without changing its existing size.

The Image component's Convert to Shape Foundry context command and GameObject > UI > Foundry > Shape Foundry > Convert selected Images remain available. Conversion supports multiple selected objects and Undo. Prefab instances keep their prefab connection through component overrides.

Supported cases include Simple Images, compatible tiled Images and Horizontal, Vertical or Radial 360 filled Images. Conversion checks compatibility before changing anything.

Nine-sliced sprites, Radial 90/180 fills, custom materials, alpha-based pointer detection and custom Image subclasses are not converted. Shape Image derives from MaskableGraphic, not Image: scripts, animation bindings and events requiring the Image type need adaptation. Conversion is not a universal drop-in replacement.