Class fsPropertyAttribute
Explicitly mark a property to be serialized. This can also be used to give the name that the property should use during serialization.
Namespace: Unity.VisualScripting.FullSerializer
Syntax
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
public class fsPropertyAttribute : Attribute, _Attribute
Constructors
fsPropertyAttribute()
Declaration
public fsPropertyAttribute()
fsPropertyAttribute(String)
Declaration
public fsPropertyAttribute(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name |
Fields
Converter
Use a custom converter for the given type. Specify the converter to use using typeof.
Declaration
public Type Converter
Field Value
Type | Description |
---|---|
Type |
Name
The name of that the property will use in JSON serialization.
Declaration
public string Name
Field Value
Type | Description |
---|---|
String |