Class ToolButton
Script that handles button highlighting in menus when button is selected.
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.XR.ARFoundation
Syntax
[RequireComponent(typeof(Image))]
public class ToolButton : MonoBehaviour
Properties
buttonHighlights
The list of other highlight images for the buttons in the menu.
Declaration
public List<Image> buttonHighlights { get; set; }
Property Value
Type | Description |
---|---|
List<Image> | A list of other highlight images for the buttons in the menu. |
Methods
HighlightButton()
Method that shows or hides the image that highlights the button.
Declaration
public void HighlightButton()