Unity-UI-Extensions.GitHub.io

CurvedLayout

A curved layout system


Contents

1 Overview

2 Properties

3 Methods

4 Usage

5 Video Demo

6 See also

7 Credits and Donation

8 External links


Overview

Similar to the Horizontal and Vertical Layout components provided by Unity, this offers more control both vertically and horizontally with the ability to curve or bend the layout.


Properties

The properties of the Box Slider control are as follows:

Property Description  
     
Curve Alignment Based on which anchor should the curve apply.  
Curve Offset Vector 3 offset to apply to the curve.  
Item Axis The axis along which to place the items, Normalized before use.  
Item Size The size of each item along the Normalized axis.  
Center Point The slope can be moved by altering this setting, it could be constrained to the 0-1 range, but other values are useful for animations.  

Usage

Like with other Layout controls, simply add this to the parent RectTransform for a collection of child elements through the Add Component menu as follows: Add Component -> Layout -> Extensions -> Curved Layout.

Make sure to configure the Item Size, Offset and Axis to apply a curve, else child items will just collate.


Video Demo

tbc


See also


Credits and Donation

Freezy


Sourced From