Class GhostPredictionSystemGroup
Inheritance
GhostPredictionSystemGroup
Inherited Members
Unity.Entities.ComponentSystemGroup.OnCreateForCompiler()
Unity.Entities.ComponentSystemGroup.FixedRateManager
Unity.Entities.ComponentSystemBase.GetComponentTypeHandle<T>(System.Boolean)
Unity.Entities.ComponentSystemBase.GetDynamicComponentTypeHandle(Unity.Entities.ComponentType)
Unity.Entities.ComponentSystemBase.GetBufferTypeHandle<T>(System.Boolean)
Unity.Entities.ComponentSystemBase.GetSharedComponentTypeHandle<T>()
Unity.Entities.ComponentSystemBase.GetEntityTypeHandle()
Unity.Entities.ComponentSystemBase.ExecutingSystemType
Namespace: Unity.NetCode
Syntax
public class GhostPredictionSystemGroup : ComponentSystemGroup
Fields
IsFinalPredictionTick
Declaration
public bool IsFinalPredictionTick
Field Value
Type | Description |
---|---|
Boolean |
OldestPredictedTick
Declaration
public NativeArray<uint> OldestPredictedTick
Field Value
Type | Description |
---|---|
NativeArray<UInt32> |
PredictingTick
Declaration
public uint PredictingTick
Field Value
Type | Description |
---|---|
UInt32 |
Methods
AddPredictedTickWriter(JobHandle)
Declaration
public void AddPredictedTickWriter(JobHandle handle)
Parameters
Type | Name | Description |
---|---|---|
JobHandle | handle |
OnCreate()
Declaration
protected override void OnCreate()
Overrides
OnDestroy()
Declaration
protected override void OnDestroy()
Overrides
OnUpdate()
Declaration
protected override void OnUpdate()
Overrides
ShouldPredict(UInt32, PredictedGhostComponent)
Declaration
public static bool ShouldPredict(uint tick, PredictedGhostComponent predicted)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | tick | |
PredictedGhostComponent | predicted |
Returns
Type | Description |
---|---|
Boolean |