Class ToolButton
Script that handles button highlighting in menus when button is selected.
Inherited Members
      Object.InstantiateAsync<T>(T)
    
    
      Object.InstantiateAsync<T>(T, Transform)
    
    
      Object.InstantiateAsync<T>(T, Vector3, Quaternion)
    
    
      Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      Object.Instantiate<T>(T, InstantiateParameters)
    
    
      Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      Object.FindObjectsByType<T>(FindObjectsSortMode)
    
    
    
      Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    
    
    
    
      Object.FindFirstObjectByType<T>()
    
    
      Object.FindAnyObjectByType<T>()
    
    
      Object.FindFirstObjectByType<T>(FindObjectsInactive)
    
    
      Object.FindAnyObjectByType<T>(FindObjectsInactive)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
  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
| 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()