DiscreteTime
Constructs a discrete time from either seconds (float/double) or ticks (int/long).
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Constructor
- Namespace: Unity.IntegerTime
- Assembly: UnityEngine.CoreModule
DiscreteTime(DiscreteTime)
Constructs a discrete time from either seconds (float/double) or ticks (int/long).
public DiscreteTime(DiscreteTime x)
Parameters
Copy constructor.
DiscreteTime(float)
Constructs a discrete time from either seconds (float/double) or ticks (int/long).
public DiscreteTime(float v)
Parameters
Float/Double represent seconds, long/int represent ticks.
DiscreteTime(double)
Constructs a discrete time from either seconds (float/double) or ticks (int/long).
public DiscreteTime(double v)
Parameters
Float/Double represent seconds, long/int represent ticks.
DiscreteTime(long)
Constructs a discrete time from either seconds (float/double) or ticks (int/long).
public DiscreteTime(long v)
Parameters
Float/Double represent seconds, long/int represent ticks.
DiscreteTime(int)
Constructs a discrete time from either seconds (float/double) or ticks (int/long).
public DiscreteTime(int v)
Parameters
Float/Double represent seconds, long/int represent ticks.