Back to API Reference
Class
AssetGradientProvider
sealed
IGradientProvider backed by an explicit UniTextGradients asset referenced on the modifier. Use this when a single component should resolve gradients from a different catalog than the project-wide one.
public UniTextGradients Asset{ get; set }The asset used for name resolution. Setting to makes TryGetGradient return for every name.
public IEnumerable<NamedGradient> Enumerate()