A BlobAsset containing all the meta data required for ghosts.
public struct GhostPrefabMetaData
Fields
Declaration
public GhostPrefabMetaData.GhostMode DefaultMode
Field Value
A list of (child index, components) pair which should be disabled when the prefab is used to instantiate an interpolated ghost. This is used so we can have a single client prefab.
Declaration
public BlobArray<GhostPrefabMetaData.ComponentReference> DisableOnInterpolatedClient
Field Value
A list of (child index, components) pair which should be disabled when the prefab is used to instantiate a predicted ghost. This is used so we can have a single client prefab.
Declaration
public BlobArray<GhostPrefabMetaData.ComponentReference> DisableOnPredictedClient
Field Value
Declaration
Field Value
Declaration
Field Value
Declaration
public BlobArray<int> NumServerComponentsPerEntity
Field Value
A list of (child index, components) pair which should be removed from the prefab when using it on the client. The main use-case is to support ClientAndServer data.
Declaration
public BlobArray<GhostPrefabMetaData.ComponentReference> RemoveOnClient
Field Value
A list of (child index, components) pair which should be removed from the prefab when using it on the server. The main use-case is to support ClientAndServer data.
Declaration
public BlobArray<GhostPrefabMetaData.ComponentReference> RemoveOnServer
Field Value
Declaration
public BlobArray<GhostPrefabMetaData.ComponentInfo> ServerComponentList
Field Value
Declaration
public bool StaticOptimization
Field Value
Declaration
public GhostPrefabMetaData.GhostMode SupportedModes
Field Value