Skip to content

Fan Layout

UIHandLayout arranges direct child RectTransform objects along an arc.

Fan settings

Setting Purpose
Radius Distance from the arc center to each card
Total Angle Maximum width of the fan
Rotate With Arc Rotates cards to follow the fan
Invert Rotation Reverses card banking
Invert Y Opens the fan in the opposite direction
Per Item Extra Angle Adds spacing as the hand grows

Adaptive fan

Enable Adaptive Spread to keep small hands compact and gradually approach the full fan angle.

  • Cards For Full Spread controls when the full angle is reached.
  • Min Angle controls the minimum spread for small hands.

Positioning

Enable Use Bottom Baseline to align the fan relative to the holder's bottom edge. Use Baseline Padding to move it upward.

Shared card scale

Enable Control Card Scale to apply one uniform scale to all cards:

Control Card Scale: Enabled
Card Scale: 0.5

Hover scaling multiplies the base scale instead of replacing it.

Runtime refresh

The layout automatically reacts to children being added or removed. It can also be refreshed manually:

handLayout.NotifyLayoutChanged();