Class GhostEnabledBitAttribute
Attribute denoting that an Unity.Entities.IEnableableComponent should have its enabled flag replicated. And thus, this is only valid on enableable component types. You'll get compiler errors if it's not.
Inherited Members
Namespace: Unity.NetCode
Assembly: Unity.NetCode.dll
Syntax
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct)]
public sealed class GhostEnabledBitAttribute : Attribute
Remarks
A type will not replicate its enableable flag unless it has this attribute attached to the class. This can (and should) also be added to variants that serialize enable bits.