Version: 2023.2

DiscreteTimeConstructor

切换到手册
public DiscreteTime (Unity.IntegerTime.DiscreteTime x);
public DiscreteTime (float v);
public DiscreteTime (double v);
public DiscreteTime (long v);
public DiscreteTime (int v);

参数

x 复制构造函数。
v Float/Double represent seconds, long/int represent ticks.

描述

Constructs a discrete time from either seconds (float/double) or ticks (int/long).