docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MockTimeProvider

    Inheritance
    object
    MockTimeProvider
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Netcode.TestHelpers.Runtime
    Assembly: Unity.Netcode.TestHelpers.Runtime.dll
    Syntax
    public class MockTimeProvider

    Properties

    DeltaTime

    Declaration
    public float DeltaTime { get; }
    Property Value
    Type Description
    float

    FixedDeltaTime

    Declaration
    public float FixedDeltaTime { get; }
    Property Value
    Type Description
    float

    RealTimeSinceStartup

    Declaration
    public float RealTimeSinceStartup { get; }
    Property Value
    Type Description
    float

    StaticDeltaTime

    Declaration
    public static float StaticDeltaTime { get; }
    Property Value
    Type Description
    float

    StaticRealTimeSinceStartup

    Declaration
    public static float StaticRealTimeSinceStartup { get; }
    Property Value
    Type Description
    float

    StaticUnscaledDeltaTime

    Declaration
    public static float StaticUnscaledDeltaTime { get; }
    Property Value
    Type Description
    float

    StaticUnscaledTime

    Declaration
    public static float StaticUnscaledTime { get; }
    Property Value
    Type Description
    float

    UnscaledDeltaTime

    Declaration
    public float UnscaledDeltaTime { get; }
    Property Value
    Type Description
    float

    UnscaledTime

    Declaration
    public float UnscaledTime { get; }
    Property Value
    Type Description
    float

    Methods

    Reset()

    Declaration
    public static void Reset()

    TimeTravel(double)

    Declaration
    public static void TimeTravel(double amountOfTimeTraveled)
    Parameters
    Type Name Description
    double amountOfTimeTraveled
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)