Class RecordMostRecentFixedTime
A system to keep track of the time values in the most recent tick of the FixedStepSimulationSystemGroup
.
Inherited Members
Unity.Entities.SystemBase.UnmanagedUpdate$BurstManaged(System.IntPtr, Unity.Entities.SystemDependencySafetyUtility.SafetyErrorDetails)
Namespace: Unity.Physics.GraphicsIntegration
Syntax
[UpdateInGroup(typeof(FixedStepSimulationSystemGroup))]
[UpdateAfter(typeof(BuildPhysicsWorld))]
[UpdateBefore(typeof(ExportPhysicsWorld))]
[AlwaysUpdateSystem]
public class RecordMostRecentFixedTime : SystemBase
Properties
MostRecentDeltaTime
The value of Time.DeltaTime
in the most recent tick of the FixedStepSimulationSystemGroup
.
Declaration
public double MostRecentDeltaTime { get; }
Property Value
Type | Description |
---|---|
Double |
MostRecentElapsedTime
The value of Time.ElapsedTime
in the most recent tick of the FixedStepSimulationSystemGroup
.
Declaration
public double MostRecentElapsedTime { get; }
Property Value
Type | Description |
---|---|
Double |
Methods
OnUpdate()
Declaration
protected override void OnUpdate()