using System;
using System.Collections.Generic;
using System.Text;
namespace GlitchyEngine.Editor;
///
/// Specifies the properties of the textfield for the that the attribute is attached to.
///
[AttributeUsage(AttributeTargets.Field)]
public sealed class TextFieldAttribute : Attribute
{
///
/// If the string field will be shown in a multiline text box.
///
public bool Multiline { get; set; }
///
/// The number of lines that the text field has. Only applies if is set to .
/// It does not affect how many lines of text can be stored in the field. Only how many lines the text field itself has.
///
public int TextFieldLines { get; set; } = 3;
}