Enum GhostPrefabType
Assign to every GhostInstance, and denotes which Ghost prefab version this component is allowed to exist on.
GhostAuthoringInspectionComponent to manually override on a specific Ghost prefab.
Namespace: Unity.NetCode
Assembly: Unity.NetCode.dll
Syntax
[Flags]
public enum GhostPrefabType
Fields
| Name | Description |
|---|---|
| All | Component will be to all versions. |
| AllPredicted | Component will only be added to the Server and PredictedClient versions. |
| Client | Component will only be added to Client versions. |
| InterpolatedClient | Component will only be added to the Interpolated Client version. |
| None | Component will not be added to any Ghost prefab type. |
| PredictedClient | Component will only be added to the Predicted Client version. |
| Server | Component will only be added to the Server version. |