// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved. using System; namespace FlaxEngine { /// /// Inserts a header control with a custom text into the editor layout. /// /// [Serializable] [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)] public sealed class HeaderAttribute : Attribute { /// /// The header text. /// public string Text; private HeaderAttribute() { } /// /// Initializes a new instance of the class. /// /// The header text. public HeaderAttribute(string text) { Text = text; } } }