TagNameAttribute.md
February 25, 2024 ยท View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS
TagNameAttribute Class
Assign a custom tag name used for JSON serialization for annotated structs implementing ITag.
public sealed class TagNameAttribute : System.Attribute
Inheritance System.Object ๐ก System.Attribute ๐ก TagNameAttribute
Remarks
This enables changing a struct name in code without changing the JSON serialization format.
| Constructors | |
|---|---|
| TagNameAttribute(string) |