Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DiscreteTime

Constructs a discrete time from an existing discrete time.
Read time 1 minuteLast updated 3 days ago

Definition

DiscreteTime(DiscreteTime)

Constructs a discrete time from an existing discrete time.
public DiscreteTime(DiscreteTime x)

Parameters

The discrete time to copy the tick value from.

DiscreteTime(float)

Constructs a discrete time from a given float.
public DiscreteTime(float v)

Parameters

Time in seconds.

DiscreteTime(double)

Constructs a discrete time from a given double.
public DiscreteTime(double v)

Parameters

Time in seconds.

DiscreteTime(long)

Constructs a discrete time from a given long.
public DiscreteTime(long v)

Parameters

Time in seconds.

DiscreteTime(int)

Constructs a discrete time from a given int.
public DiscreteTime(int v)

Parameters

Time in seconds.