Class GhostPredictionSystemGroup
Inheritance
GhostPredictionSystemGroup
Inherited Members
Unity.Entities.ComponentSystemGroup.FixedRateManager
Syntax
[UpdateInGroup(typeof(GhostSimulationSystemGroup))]
public class GhostPredictionSystemGroup : ComponentSystemGroup
Fields
IsFinalPredictionTick
The current server tick which will be the last tick to predict. Only valid when the GhostPredictionSystemGroup is executing, otherwise will be true.
Declaration
public bool IsFinalPredictionTick
Field Value
OldestPredictedTick
Declaration
public NativeArray<uint> OldestPredictedTick
Field Value
PredictingTick
The tick currently being predicted. Only valid when the GhostPredictionSystemGroup is executing (see IsInPredictionLoop), otherwise the value will be the last predicted tick.
Declaration
public uint PredictingTick
Field Value
Properties
IsInPredictionLoop
True only while this prediction group is executing its OnUpdate.
Declaration
public bool IsInPredictionLoop { get; }
Property Value
Methods
AddPredictedTickWriter(JobHandle)
Declaration
public void AddPredictedTickWriter(JobHandle handle)
Parameters
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
Returns