Class PredictedFixedStepSimulationSystemGroup
A fixed update group inside the ghost prediction. This is equivalent to Fixed
Note: This SystemGroup is intentionally added to non-netcode worlds, to help enable single-player testing.
Inheritance
Inherited Members
Namespace: Unity.NetCode
Assembly: Unity.NetCode.dll
Syntax
[WorldSystemFilter(WorldSystemFilterFlags.Default, WorldSystemFilterFlags.Default)]
[UpdateInGroup(typeof(PredictedSimulationSystemGroup), OrderFirst = true)]
public class PredictedFixedStepSimulationSystemGroup : ComponentSystemGroup
Constructors
PredictedFixedStepSimulationSystemGroup()
Default constructor which sets up a fixed rate manager.
Declaration
[Preserve]
public PredictedFixedStepSimulationSystemGroup()
Properties
Timestep
Set the timestep used by this group, in seconds. The default value is 1/60 seconds.
Declaration
public float Timestep { get; set; }
Property Value
Type | Description |
---|---|
float |