TextStudio3DButton
[AddComponentMenu("Text Studio/Spatial UI/3D Button")]public sealed class TextStudio3DButton : TextStudio3DControlProvides a pressable 3D control that renders a text label and raises a click event on activation.
Methods
Section titled “Methods”
RefreshLabel()
Section titled “RefreshLabel()”protected override void RefreshLabel()Allows a subclass to derive its displayed label from current semantic state.
PerformActivation()
Section titled “PerformActivation()”protected override void PerformActivation()Applies the subclass’s semantic activation after common interactability checks.
Constructors
Section titled “Constructors”
TextStudio3DButton()
Section titled “TextStudio3DButton()”public TextStudio3DButton()Properties
Section titled “Properties”
LabelText
Section titled “LabelText”public string LabelText { get; set; }Returns
System.String
OnClick
Section titled “OnClick”public UnityEvent OnClick { get; }Returns
UnityEngine.Events.UnityEvent