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 |