docs.unity.cn
    Show / Hide Table of Contents

    Struct Clock.Proxy

    Namespace: UnityEngine.Reflect
    Syntax
    public struct Proxy

    Constructors

    Proxy(Clock)

    Declaration
    public Proxy(Clock clock)
    Parameters
    Type Name Description
    Clock clock

    Properties

    deltaTime

    The delta time since the last frame

    Declaration
    public TimeSpan deltaTime { get; }
    Property Value
    Type Description
    TimeSpan

    frameTime

    The time at the beginning of the frame

    Declaration
    public TimeSpan frameTime { get; }
    Property Value
    Type Description
    TimeSpan

    lastFrameTime

    The time at the beginning of the previous frame. This is equivalent of doing frameTime - deltaTime

    Declaration
    public TimeSpan lastFrameTime { get; }
    Property Value
    Type Description
    TimeSpan
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 26 April 2021