Class Stopwatch | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class Stopwatch

    Inheritance
    System.Object
    Stopwatch
    Namespace: Unity.UIWidgets.flow
    Syntax
    public class Stopwatch

    Constructors

    Stopwatch()

    Declaration
    public Stopwatch()

    Methods

    lastLap()

    Declaration
    public float lastLap()
    Returns
    Type Description
    System.Single

    maxDelta()

    Declaration
    public float maxDelta()
    Returns
    Type Description
    System.Single

    setLapTime(Single)

    Declaration
    public void setLapTime(float delta)
    Parameters
    Type Name Description
    System.Single delta

    start()

    Declaration
    public void start()

    stop()

    Declaration
    public void stop()

    visualize(Canvas, Rect)

    Declaration
    public void visualize(Canvas canvas, Rect rect)
    Parameters
    Type Name Description
    Canvas canvas
    Rect rect
    In This Article
    • Constructors
      • Stopwatch()
    • Methods
      • lastLap()
      • maxDelta()
      • setLapTime(Single)
      • start()
      • stop()
      • visualize(Canvas, Rect)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023