Version: 2023.2

DiscreteTimeTimeExtensions

class in Unity.IntegerTime

切换到手册

描述

Extension methods for the DiscreteTime.

静态函数

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.