Class GhostEnabledBitAttribute
Attribute denoting that an 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
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
public sealed class GhostEnabledBitAttribute : Attribute, _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.