MarqueeModifier
Scrolls the whole text horizontally inside its RectTransform, like a news ticker or a song title wider than its label.
Remarks
Manual. A change of the text restarts the cycle. Canvas text only: enabling the modifier on UniTextWorld throws NotSupportedException. A text backed by a document, or one another component already scrolls, does not scroll as a marquee and reports why once per occurrence.public MarqueeMode Mode{ get; set }How the text moves: an endless loop of copies, or back and forth between its ends.
public UnitValue Speed{ get; set }Travel per second, in pixels or em of the component's font size; a negative value runs the other way.
Seconds the text rests at its start edge each cycle, and at its end edge in MarqueeMode.PingPong; a negative value counts as zero.
public UnitValue Gap{ get; set }Space between the end of the text and the start of the copy that follows it in MarqueeMode.Loop: pixels, em, or percent of the padded rect's width; a negative value counts as zero.
public UnitValue Fade{ get; set }Width of the soft fade inside the rect's left and right edges, in pixels or em; zero cuts sharply.
Animation input in seconds, weakest stage of the applied range's phase cascade: a driver, tween, Animator or code writes it, and the seconds Clock has run add to it.
protected override void OnApply(in RangeApplyContext context)