Class ToolButton
Script that handles button highlighting in menus when button is selected.
Inherited Members
Namespace: UnityEngine .XR.ARFoundation
Assembly: Unity.XR.ARFoundation.dll
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
Methods
HighlightButton()
Method that shows or hides the image that highlights the button.
Declaration
public void HighlightButton()