Modifier

Partager via


ButtonBorder Class

Definition

Use a Unity primitive cube or cylinder as a border segment relative to the scale of the AnchorTransform Use with ButtonSize on the component and the Anchor for consistent results Works best when using with ButtonSize, but not required - See ButtonSize for more info.

public ref class ButtonBorder : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/ButtonBorder")]
[UnityEngine.ExecuteInEditMode]
public class ButtonBorder : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/ButtonBorder")>]
[<UnityEngine.ExecuteInEditMode>]
type ButtonBorder = class
    inherit MonoBehaviour
Public Class ButtonBorder
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
ButtonBorder
Attributes
UnityEngine.AddComponentMenuAttribute UnityEngine.ExecuteInEditModeAttribute

Constructors

ButtonBorder()

Applies to