Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DiscreteTimeTimeExtensions

Extension methods for the DiscreteTime.
Read time 1 minuteLast updated 11 days ago

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.