文档

Unity Engine

Unity Engine

DiscreteTimeTimeExtensions

Extension methods for the DiscreteTime.
阅读时间1 分钟最后更新于 2 小时前

Definition

public static class DiscreteTimeTimeExtensions

Static Methods

Method

Description

AbsReturns the absolute value of a time value.
ClampClamps the value x into the interval [a, b].
FloorThe lower integer number of seconds represented as a DiscreteTime.
MaxReturns the maximum of two time values.
MinReturns the minimum of two time values.
SelectReturns b if c is true, a otherwise.