Class GhostSendSystem
Inherited Members
Unity.Entities.SystemBase.OnCreateForCompiler()
Unity.Entities.ComponentSystemBase.GetArchetypeChunkComponentType<T>(System.Boolean)
Unity.Entities.ComponentSystemBase.GetArchetypeChunkComponentTypeDynamic(Unity.Entities.ComponentType)
Unity.Entities.ComponentSystemBase.GetArchetypeChunkBufferType<T>(System.Boolean)
Unity.Entities.ComponentSystemBase.GetArchetypeChunkSharedComponentType<T>()
Unity.Entities.ComponentSystemBase.GetArchetypeChunkEntityType()
Namespace: Unity.NetCode
Syntax
public class GhostSendSystem : SystemBase
Fields
m_AllocatedGhostIds
Declaration
protected NativeArray<int> m_AllocatedGhostIds
Field Value
Type | Description |
---|---|
NativeArray<Int32> |
Properties
GhostRelevancyMode
Declaration
public GhostRelevancyMode GhostRelevancyMode { get; set; }
Property Value
Type | Description |
---|---|
GhostRelevancyMode |
GhostRelevancySet
Declaration
public NativeHashMap<RelevantGhostForConnection, int> GhostRelevancySet { get; }
Property Value
Type | Description |
---|---|
NativeHashMap<RelevantGhostForConnection, Int32> |
GhostRelevancySetWriteHandle
Declaration
public JobHandle GhostRelevancySetWriteHandle { get; set; }
Property Value
Type | Description |
---|---|
JobHandle |
Methods
OnCreate()
Declaration
protected override void OnCreate()
Overrides
OnDestroy()
Declaration
protected override void OnDestroy()
Overrides
OnUpdate()
Declaration
protected override void OnUpdate()
Overrides
SetAllocatedGhostId(Int32)
Declaration
public bool SetAllocatedGhostId(int id)
Parameters
Type | Name | Description |
---|---|---|
Int32 | id |
Returns
Type | Description |
---|---|
Boolean |