Back to API Reference
Class

StylePreset

Implements:IStyleChangeSink

Shareable, project-asset container of Style entries that components apply in bulk via StylePresets or via GlobalStylePreset.

Remarks

Mutating Styles raises Changed. Attached UniTextBase components replay leaf members into the matching runtime node and replace a runtime graph only when its structure or resolution changed.
public StylePresetChangedHandler DeltaChanged

Raised with exact affected-node, member, operation, and replay context.