Skip to content

TextStudio3DThemeScope

ClassTextStudio.ThreeDTextStudio.3D
[ExecuteAlways]
[DisallowMultipleComponent]
[AddComponentMenu("Text Studio/3D/Theme Scope")]
public sealed class TextStudio3DThemeScope : MonoBehaviour

Supplies an inheritable 3D theme to descendant text and controls, falling through when no theme is assigned.

public void ApplyTheme(TextStudio3DTheme theme)

Assigns the scoped theme and refreshes all registered theme consumers.

Parameters

Name Type
theme TextStudio.ThreeD.TextStudio3DTheme

public TextStudio3DThemeScope()

public TextStudio3DTheme Theme { get; set; }

Returns

TextStudio.ThreeD.TextStudio3DTheme