Class GhostSerializerAttribute
For internal use only. Markup for the generate component/buffer code-generated serializer, added automatically by the code-generation system.
Implements
Inherited Members
Namespace: Unity.NetCode
Assembly: solution.dll
Syntax
[AttributeUsage(AttributeTargets.Struct)]
public class GhostSerializerAttribute : Attribute, _Attribute
Constructors
Name | Description |
---|---|
Ghost |
Construct the attribute and assign the component and variant hash. |
Fields
Name | Description |
---|---|
Component |
The component type this serializer is for. |
Variant |
The calculated variant hash for this serializer. If the serialization is generated from the component type declaration, this field is 0. |