Skip to content

Commit 4a8ff21

Browse files
Update Curved Layout
1 parent 14615d5 commit 4a8ff21

4 files changed

Lines changed: 22 additions & 19 deletions

File tree

Controls/CurlyUI.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The properties of the Curly controls (CUI Image, Text, Graphic) are as follows:
4242

4343
Property | Description
4444
|-|-|
45-
*Is Curved*|Apply the curve affect to the atached element
45+
*Is Curved*|Apply the curve affect to the attached element
4646
*Is Lock with Ratio*|Lock curves to the native object ratios
4747
*Resolution*|Complexity of the underlying mesh, increases draw complexity for quality
4848
*UI Graphic*|Graphic element being altered with the curve
@@ -64,10 +64,10 @@ Simply add any of the CUI Game Components to an Image/Text/Rawimage object using
6464
* CUI Text -> Text
6565
* CUI Graphic -> RawImage
6666

67-
Once added, you can then manipulate the curves for the RectTransform using the bezier handles aded in the editor.
67+
Once added, you can then manipulate the curves for the RectTransform using the bezier handles added in the editor.
6868

6969
> *Note*
70-
> You should be able to manipulate / animate the bezier contol points through code, however, this has not been tested as yet.
70+
> You should be able to manipulate / animate the bezier control points through code, however, this has not been tested as yet.
7171
7272
---------
7373

Controls/CurvedLayout.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ A curved layout system
2828

2929
## Overview
3030

31-
Similar to the Horizontal and Vertical Layout components provided by Unity, this offers more control both vertically and horizontaly with the ability to curve or bend the layout.
31+
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.
3232

3333
---------
3434

@@ -39,13 +39,20 @@ The properties of the Box Slider control are as follows:
3939
Property | Description
4040
|-|-|
4141
|||
42+
*Curve Alignment*|Based on which anchor should the curve apply.
43+
*Curve Offset*|Vector 3 offset to apply to the curve.
44+
*Item Axis*|The axis along which to place the items, Normalized before use.
45+
*Item Size*|The size of each item along the Normalized axis.
46+
*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.
4247

4348
---------
4449

4550
## Usage
4651

4752
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:
48-
Add Component -> Layout -> Extensions -> Curved Layout
53+
Add Component -> Layout -> Extensions -> Curved Layout.
54+
55+
> Make sure to configure the Item Size, Offset and Axis to apply a curve, else child items will just collate.
4956
5057
---------
5158

Controls/FancyScrollView.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,15 @@ A very fancy Scroll view component, with an extensible event system
1212
>
1313
> 2 [Properties](#properties)
1414
>
15-
> 3 [Methods](#methods)
15+
> 3 [Usage](#usage)
1616
>
17-
> 4 [Usage](#usage)
17+
> 4 [Video Demo](#video-demo)
1818
>
19-
> 5 [Video Demo](#video-demo)
19+
> 5 [See also](#see-also)
2020
>
21-
> 6 [See also](#see-also)
21+
> 6 [Credits and Donation](#credits-and-donation)
2222
>
23-
> 7 [Credits and Donation](#credits-and-donation)
24-
>
25-
> 8 [External links](#external-links)
23+
> 7 [External links](#external-links)
2624
2725
---------
2826

Controls/FlowLayoutGroup.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,15 @@ A more rugged grid style layout group
1212
>
1313
> 2 [Properties](#properties)
1414
>
15-
> 3 [Methods](#methods)
15+
> 3 [Usage](#usage)
1616
>
17-
> 4 [Usage](#usage)
17+
> 4 [Video Demo](#video-demo)
1818
>
19-
> 5 [Video Demo](#video-demo)
19+
> 5 [See also](#see-also)
2020
>
21-
> 6 [See also](#see-also)
21+
> 6 [Credits and Donation](#credits-and-donation)
2222
>
23-
> 7 [Credits and Donation](#credits-and-donation)
24-
>
25-
> 8 [External links](#external-links)
23+
> 7 [External links](#external-links)
2624
2725
---------
2826

0 commit comments

Comments
 (0)