Back to API Reference
Class

UniTextGradients

sealed

ScriptableObject containing named gradients for use with <gradient=name> tags.

Remarks

Create via Assets → Create → UniText → Gradients. Reference in UniTextSettings to make gradients available to all UniText components.

Nested Types

public IEnumerable<string> GradientNames{ get }

Gets all gradient names.

public int Count{ get }

Gets the number of gradients.

public bool TryGetGradient(string name, Gradient gradient)

Attempts to get a gradient by name.

public void Add()

See Also