// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved.
using System;
namespace FlaxEngine
{
///
/// Specifies a tooltip for a property/field in the editor.
///
///
[Serializable]
[AttributeUsage(AttributeTargets.All)]
public sealed class TooltipAttribute : Attribute
{
///
/// The tooltip text.
///
public string Text;
private TooltipAttribute()
{
}
///
/// Initializes a new instance of the class.
///
/// The tooltip text.
public TooltipAttribute(string text)
{
Text = text;
}
}
}