Class UITextSplineController
- Namespace
- FluffyUnderware.Curvy.Controllers
SplineController modifying uGUI text
[RequireComponent(typeof(Text))]
[AddComponentMenu("Curvy/Controllers/UI Text Spline Controller")]
public class UITextSplineController : SplineController
- Inheritance
-
ObjectComponentBehaviourMonoBehaviourDTVersionedMonoBehaviourUITextSplineController
- Inherited Members
Properties
Rect
protected RectTransform Rect { get; }
Property Value
- RectTransform
ShowOffsetSection
Whether the controller should display the CurvyController properties under the Offset section or not.
protected override bool ShowOffsetSection { get; }
Property Value
ShowOrientationSection
Whether the controller should display the CurvyController properties under the Orientation section or not.
protected override bool ShowOrientationSection { get; }
Property Value
Spline
Gets or sets the spline to use
public override CurvySpline Spline { get; set; }
Property Value
StaticOrientation
If true, the text characters will keep the same orientation regardless of the spline they follow
public bool StaticOrientation { get; set; }
Property Value
Text
protected Text Text { get; }
Property Value
- Text
graphic
protected Graphic graphic { get; }
Property Value
- Graphic
Methods
BindEvents()
Binds any external events
protected override void BindEvents()
InitializedApplyDeltaTime(float)
Advances the controller state by deltaTime seconds. Is called only for initialized controllers
protected override void InitializedApplyDeltaTime(float deltaTime)
Parameters
deltaTimefloat
ModifyMesh(Mesh)
public void ModifyMesh(Mesh verts)
Parameters
vertsMesh
ModifyMesh(VertexHelper)
public void ModifyMesh(VertexHelper vertexHelper)
Parameters
vertexHelperVertexHelper
UnbindEvents()
Unbinds any external events
protected override void UnbindEvents()