文档

Unity Engine

Unity Engine

Floor(DiscreteTime)

The lower integer number of seconds represented as a DiscreteTime.
阅读时间1 分钟最后更新于 2 小时前

Definition

public static DiscreteTime Floor(this DiscreteTime x)

Parameters

The input.

Returns

Type

Description

DiscreteTimeThe result of rounding a DiscreteTime value up to the nearest integral value less or equal to the original value.