using System; namespace UnityEngine.Localization.Metadata { /// /// Used to add metadata comments. /// Comments can be any type of information but are particularly useful for providing context to translators. /// [Metadata] [Serializable] public class Comment : IMetadata { [SerializeField] [TextArea(1, int.MaxValue)] string m_CommentText = "Comment Text"; /// /// The comment text. /// public string CommentText { get => m_CommentText; set => m_CommentText = value; } public override string ToString() => CommentText; } }