CCTextCylinderWrapper is a CCTextModifier that wraps text around a
cylinder, either vertically or horizontally. It does this by modifying the vertex positions of the character.
Assign it to a CCText component to wrap its contents.
You can create one via Assets / Create / Text Box / Cylinder Wrapper.
Wrap Mode
You can wrap around either the text's local X or Y axis. Wrapping around X makes the text curve away at the
top and bottom. Wrapping around Y makes the text curve away at the left and right.
Radius
A positive radius places the text on the outside surface of an imaginary cylinder positioned at the local origin.
So when looking straight at the text, increasing the radius will move the text closer to you.
A negative radius places the text on the inside surface, on the opposite side of the imaginary cylinder.
Keep in mind that the circumference of a circle is equal to its radius multiplied by 2π (roughly 6.28).
You can use this fact to control how the text box wraps around the cylinder, by adjusting its width or its height
(through line height and number of lines).
Offset
The text offset behaves differently when using this modifier, because its effect will also be wrapped. Z now
offsets along the cylinder's radius, while X and Y offsets follow the surface of the imaginary cylinder.