Class GhostComponentSerializerCollectionSystemGroup
Parent group of all code-generated systems that registers the ghost component serializers to the GhostCollection, more specifically to the GhostComponentSerializer.State collection) at runtime. For internal use only, don't add systems to this group.
Inheritance
Inherited Members
Namespace: Unity.NetCode
Syntax
[WorldSystemFilter(WorldSystemFilterFlags.BakingSystem | WorldSystemFilterFlags.ServerSimulation | WorldSystemFilterFlags.ClientSimulation | WorldSystemFilterFlags.ThinClientSimulation, WorldSystemFilterFlags.BakingSystem | WorldSystemFilterFlags.ServerSimulation | WorldSystemFilterFlags.ClientSimulation | WorldSystemFilterFlags.ThinClientSimulation)]
[CreateBefore(typeof(DefaultVariantSystemGroup))]
public class GhostComponentSerializerCollectionSystemGroup : ComponentSystemGroup
Fields
CollectionDefaultCapacity
HashSets and HashTables have a fixed capacity.
Declaration
public static int CollectionDefaultCapacity
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Increase this if you have lots of variants. Hardcoded multiplier is due to DontSerializeVariants.