Back to API Reference
Class

ScrambleModifier

Inherits:BaseModifier
Implements:IPhaseModifier

Decode effect: unresolved characters render as random glyphs from Charset and settle into the real text left-to-right as Progress grows. Phase churns the random picks, on Clock or on an external drive. Deterministic per phase; the layout never reflows — replacements draw in the real glyphs' cells.

public float Progress{ get; set }

Resolved fraction of each range: 0 fully scrambled, 1 real text (and zero per-frame cost).

public float Rate{ get; set }

Random re-picks per phase unit.

public string Charset{ get; set }

Glyph pool for unresolved characters (BMP characters only).

public float Phase{ get; set }

Animation input in abstract time units churning the random picks, weakest stage of every covered range's phase cascade: a driver, tween, Animator or code writes it, and the seconds Clock has run add to it.

public PlaybackClock Clock{ get; set }

Time source the phase advances on, one phase unit per second — Rate re-picks per second. Manual advances nothing: ranges then render exactly the phase they resolve.

protected override void OnEnable()
protected override void OnDisable()
protected override void OnDestroy()
protected override void BeforeApply()
protected override void OnApply()