Search Results for

    Show / Hide Table of Contents

    Class UnityService

    Default implementation of unity service

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

    Properties

    deltaTime

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

    Declaration
    public float deltaTime { get; }
    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; }
    Property Value
    Type Description
    Single

    the delta time shown by the fixed delta time

    Instance

    Global instance of default UnityService.

    Declaration
    public static IUnityService Instance { get; }
    Property Value
    Type Description
    IUnityService

    time

    Gets the current time in seconds since start of the game

    Declaration
    public float time { get; }
    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