Class VariableRateSimulationSystemGroup
This system group is configured by default to use a variable update rate of ~15fps (66ms).
Inheritance
VariableRateSimulationSystemGroup
Inherited Members
Namespace: Unity.Entities
Assembly: solution.dll
Syntax
[WorldSystemFilter(WorldSystemFilterFlags.Default|WorldSystemFilterFlags.Editor|WorldSystemFilterFlags.ThinClientSimulation, WorldSystemFilterFlags.Default)]
[UpdateInGroup(typeof(SimulationSystemGroup), OrderFirst = true)]
[UpdateAfter(typeof(BeginSimulationEntityCommandBufferSystem))]
public class VariableRateSimulationSystemGroup : ComponentSystemGroup
Remarks
The value of Time.ElapsedTime
and Time.DeltaTime
will be temporarily overriden
while this group is updating to the value total elapsed time since the previous update.
You can configure the update rate manually by replacing the IRateManager.
Constructors
Name | Description |
---|---|
VariableRateSimulationSystemGroup() | Construct a new VariableRateSimulationSystemGroup object |
Properties
Name | Description |
---|---|
Timestep | The timestep use by this group, in seconds. This value will reflect the total elapsed time since the last update. |