using System; namespace Unity.VisualScripting.FullSerializer { /// /// Explicitly mark a property to be serialized. This can also be used to /// give the name that the property should use during serialization. /// [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)] public class fsPropertyAttribute : Attribute { public fsPropertyAttribute() : this(string.Empty) { } public fsPropertyAttribute(string name) { Name = name; } /// /// The name of that the property will use in JSON serialization. /// public string Name; /// /// Use a custom converter for the given type. Specify the converter to /// use using typeof. /// public Type Converter; } }