Struct GhostPrefabCreation.ComponentOverride
A modifier for a specific component on a specific child entity. Only the override types specified by the OverrideType are applied, the others are ignored.
Inherited Members
Namespace: Unity.NetCode
Assembly: Unity.NetCode.dll
Syntax
public struct GhostPrefabCreation.ComponentOverride
Fields
OverrideType
The property we are overriding.
Declaration
public GhostPrefabCreation.ComponentOverrideType OverrideType
Field Value
Type | Description |
---|---|
GhostPrefabCreation.ComponentOverrideType |
PrefabType
The prefab type to use if the OverrideType is PrefabType.
Declaration
public GhostPrefabType PrefabType
Field Value
Type | Description |
---|---|
GhostPrefabType |
SendMask
The new send mask to use for the component.
Declaration
public GhostSendType SendMask
Field Value
Type | Description |
---|---|
GhostSendType |
Variant
The hash of the variant to use for the component. Setting to 0 means force using the default.
Declaration
public ulong Variant
Field Value
Type | Description |
---|---|
ulong |