Skip to content

TextStudioSurfaceGroup

ClassTextStudioTextStudio
public sealed class TextStudioSurfaceGroup : MonoBehaviour

Explicit additional lettering sources for glyph-derived surfaces on this text. The owning style renders the surface once.

public TextStudioText GetSource(int index)

Returns the source text component at the specified group index.

Parameters

Name Type
index System.Int32

Returns

TextStudio.TextStudioText

public void SetSources(params TextStudioText[] sources)

Copies the source array, invalidates the group’s fingerprint, and refreshes subscriptions when enabled.

Parameters

Name Type
sources TextStudio.TextStudioText[]

public TextStudioSurfaceGroup()

public int SourceCount { get; }

Returns

System.Int32