Struct PredictedGhostDespawnSystem
Consume all the PredictedGhostSpawnRequest requests by initializing the predicted spawned ghost
and adding it to the PredictedGhostSpawn buffer.
All the predicted spawned ghosts are initialized with a invalid ghost id (-1) but a valid ghost type and spawnTick.
Implements
ISystemCompilerGenerated
Assembly: Unity.NetCode.dll
Syntax
[UpdateInGroup(typeof(GhostSimulationSystemGroup))]
[WorldSystemFilter(WorldSystemFilterFlags.ClientSimulation, WorldSystemFilterFlags.Default)]
[UpdateAfter(typeof(GhostDespawnSystem))]
[BurstCompile]
public struct PredictedGhostDespawnSystem : ISystem, ISystemCompilerGenerated
Methods
OnCreate(ref SystemState)
Declaration
[BurstCompile]
public void OnCreate(ref SystemState state)
Parameters
OnCreateForCompiler(ref SystemState)
Declaration
public void OnCreateForCompiler(ref SystemState state)
Parameters
OnUpdate(ref SystemState)
Declaration
[BurstCompile]
public void OnUpdate(ref SystemState state)
Parameters
Implements
Unity.Entities.ISystemCompilerGenerated