Class MockTimeProvider
Inheritance
MockTimeProvider
Syntax
public class MockTimeProvider : IRealTimeProvider
Properties
DeltaTime
Declaration
public float DeltaTime { get; }
Property Value
RealTimeSinceStartup
Declaration
public float RealTimeSinceStartup { get; }
Property Value
StaticDeltaTime
Declaration
public static float StaticDeltaTime { get; }
Property Value
StaticRealTimeSinceStartup
Declaration
public static float StaticRealTimeSinceStartup { get; }
Property Value
StaticUnscaledDeltaTime
Declaration
public static float StaticUnscaledDeltaTime { get; }
Property Value
StaticUnscaledTime
Declaration
public static float StaticUnscaledTime { get; }
Property Value
UnscaledDeltaTime
Declaration
public float UnscaledDeltaTime { get; }
Property Value
UnscaledTime
Declaration
public float UnscaledTime { get; }
Property Value
Methods
Reset()
Declaration
public static void Reset()
TimeTravel(Double)
Declaration
public static void TimeTravel(double amountOfTimeTraveled)
Parameters
Type |
Name |
Description |
Double |
amountOfTimeTraveled |
|