Table of Contents

Class UITextSplineController

SplineController modifying uGUI text

[RequireComponent(typeof(Text))]
[AddComponentMenu("Curvy/Controllers/UI Text Spline Controller")]
public class UITextSplineController : SplineController
Inheritance
Object
Component
Behaviour
MonoBehaviour
DTVersionedMonoBehaviour
UITextSplineController
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

bool

ShowOrientationSection

Whether the controller should display the CurvyController properties under the Orientation section or not.

protected override bool ShowOrientationSection { get; }

Property Value

bool

Spline

Gets or sets the spline to use

public override CurvySpline Spline { get; set; }

Property Value

CurvySpline

StaticOrientation

If true, the text characters will keep the same orientation regardless of the spline they follow

public bool StaticOrientation { get; set; }

Property Value

bool

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

deltaTime float

ModifyMesh(Mesh)

public void ModifyMesh(Mesh verts)

Parameters

verts Mesh

ModifyMesh(VertexHelper)

public void ModifyMesh(VertexHelper vertexHelper)

Parameters

vertexHelper VertexHelper

UnbindEvents()

Unbinds any external events

protected override void UnbindEvents()