using System;
using UnityEngine.UIElements;
namespace UnityEditor.Tilemaps
{
///
/// Visual Element showing the Inspector for the Active Brush for Grid Painting.
///
[UxmlElement]
public partial class TilePaletteBrushInspectorElement : IMGUIContainer
{
///
/// USS class name of elements of this type.
///
private new static readonly string ussClassName = "unity-tilepalette-brushinspector";
private TilePaletteBrushInspector m_BrushInspector = new TilePaletteBrushInspector();
///
/// Initializes and returns an instance of TilePaletteBrushInspectorElement.
///
public TilePaletteBrushInspectorElement()
{
AddToClassList(ussClassName);
TilePaletteOverlayUtility.SetStyleSheet(this);
onGUIHandler = m_BrushInspector.OnGUI;
}
}
}