TextStudio2DLightingScope
public sealed class TextStudio2DLightingScope : MonoBehaviourShares a directional light with opted-in TextMesh Pro appearances.
Methods
Section titled “Methods”
RefreshBindingsAfterHierarchyChange()
Section titled “RefreshBindingsAfterHierarchyChange()”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.
Constructors
Section titled “Constructors”
TextStudio2DLightingScope()
Section titled “TextStudio2DLightingScope()”public TextStudio2DLightingScope()Properties
Section titled “Properties”
public TextStudio2DLightingScopeMode Mode { get; set; }Whether this profile applies to the hierarchy or to eligible text in this scene.
Returns
TextStudio.TextStudio2DLightingScopeMode
Profile
Section titled “Profile”public TextStudio2DLightingProfile Profile { get; set; }Profile selected at this scope. An empty field makes this scope ineligible.
Returns
TextStudio.TextStudio2DLightingProfile
HasAmbiguousSceneDefault
Section titled “HasAmbiguousSceneDefault”public bool HasAmbiguousSceneDefault { get; }Whether multiple active scene defaults with assigned profiles make the fallback ambiguous.
Returns
System.Boolean