Skip to content

TextStudio2DLightingScope

ClassTextStudioTextStudio
public sealed class TextStudio2DLightingScope : MonoBehaviour

Shares a directional light with opted-in TextMesh Pro appearances.

public static void RefreshBindingsAfterHierarchyChange()

Refreshes opted-in text after a runtime scene move or reparenting a container whose descendants did not receive a hierarchy callback. Call once after a group of such hierarchy changes. Direct text moves update automatically.

public TextStudio2DLightingScope()

public TextStudio2DLightingScopeMode Mode { get; set; }

Whether this profile applies to the hierarchy or to eligible text in this scene.

Returns

TextStudio.TextStudio2DLightingScopeMode

public TextStudio2DLightingProfile Profile { get; set; }

Profile selected at this scope. An empty field makes this scope ineligible.

Returns

TextStudio.TextStudio2DLightingProfile

public bool HasAmbiguousSceneDefault { get; }

Whether multiple active scene defaults with assigned profiles make the fallback ambiguous.

Returns

System.Boolean