Editor/Internal/NodeEditorPlus/NodeGraph/ValueEditor/ValueEditor.cs

Abstract UI component in the NodeEditorPlus editor code. It derives from GraphicsItem, exposes Enabled and HideLabel properties, and sets Enabled true in the constructor.

using Editor;

namespace NodeEditorPlus;

public abstract class ValueEditor : GraphicsItem
{
	public bool Enabled { get; set; }
	public virtual bool HideLabel { get; } = true;

	public ValueEditor( GraphicsItem parent ) : base( parent )
	{
		Enabled = true;
	}
}