Back to API Reference
Class
GlobalSettingsGradientProvider
sealed
IGradientProvider backed by the project-wide Gradients asset. Use this when the same gradient catalog is shared across all UniText components in the project.
Remarks
Listens to both
Changed (in case the project-wide asset pointer is reassigned) and the bound asset's own Changed event (in case its entries are edited). Both subscriptions are lazy and tied to this provider's own Changed subscriber count, so an unused provider doesn't keep itself alive through the settings/asset delegate lists.public IEnumerable<NamedGradient> Enumerate()public Action Changed