Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Select(DiscreteTime, DiscreteTime, bool)

Returns b if c is true, a otherwise.
Read time 1 minuteLast updated 13 days ago

Definition

public static DiscreteTime Select(this DiscreteTime a, DiscreteTime b, bool c)

Parameters

The return value for the true path.

The return value for the false path.

The return value selector.

Returns

Type

Description

DiscreteTimeReturns b if c is true, a otherwise.