Skip to content

TextStudio3DButton

ClassTextStudio.ThreeDTextStudio.3D
[AddComponentMenu("Text Studio/Spatial UI/3D Button")]
public sealed class TextStudio3DButton : TextStudio3DControl

Provides a pressable 3D control that renders a text label and raises a click event on activation.

protected override void RefreshLabel()

Allows a subclass to derive its displayed label from current semantic state.

protected override void PerformActivation()

Applies the subclass’s semantic activation after common interactability checks.

public TextStudio3DButton()

public string LabelText { get; set; }

Returns

System.String

public UnityEvent OnClick { get; }

Returns

UnityEngine.Events.UnityEvent