Documentation

Unity Engine

Unity Engine

Select(DiscreteTime, DiscreteTime, bool)

Returns b if c is true, a otherwise.
Read time 1 minuteLast updated 2 months 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.