Class GhostComponentSerializerCollectionSystemGroup
Parent group of all code-generated systems that registers the ghost component serializers to the Ghost
Inheritance
Inherited Members
Namespace: Unity.NetCode
Assembly: Unity.NetCode.dll
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 |
---|---|
int |
Remarks
Increase this if you have lots of variants. Hardcoded multiplier is due to DontSerializeVariants.