Search Results for

    Show / Hide Table of Contents

    Class MockUnityService

    Mock unity service for testing.

    Inheritance
    Object
    MockUnityService
    Implements
    IUnityService
    Namespace: nickmaltbie.TestUtilsUnity
    Assembly: cs.temp.dll.dll
    Syntax
    public class MockUnityService : IUnityService

    Properties

    deltaTime

    Get the current delta time in seconds between this and last frame

    Declaration
    public float deltaTime { get; set; }
    Property Value
    Type Description
    Single

    The current delta time between this and the previous frame

    fixedDeltaTime

    Get the current fixed delta time for physics based update

    Declaration
    public float fixedDeltaTime { get; set; }
    Property Value
    Type Description
    Single

    the delta time shown by the fixed delta time

    time

    Gets the current time in seconds since start of the game

    Declaration
    public float time { get; set; }
    Property Value
    Type Description
    Single

    Time in seconds since the start of the game

    Implements

    IUnityService
    In This Article
    Back to top Test Utils Unity Documentation