using UnityEngine.UIElements;
namespace UnityEditor.Tilemaps
{
///
/// Visual Element showing the Inspector for the Active Brush for Grid Painting.
///
public class TilePaletteBrushInspectorElement : IMGUIContainer
{
///
/// Factory for TilePaletteBrushInspectorElement.
///
public class TilePaletteBrushInspectorElementFactory : UxmlFactory {}
///
/// UxmlTraits for TilePaletteBrushInspectorElement.
///
public class TilePaletteBrushInspectorElementUxmlTraits : UxmlTraits {}
///
/// 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;
}
}
}