文档

Unity Engine

Unity Engine

Select(DiscreteTime, DiscreteTime, bool)

Returns b if c is true, a otherwise.
阅读时间1 分钟最后更新于 2 小时前

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.