Documentation

Unity Engine

Unity Engine

Icon

Gets the VisualElement that displays the icon of the item. Add a USS class to this element to display a custom icon for the item type.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Property
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyModule
public VisualElement Icon { get; }