文档

Unity Engine

Unity Engine

Percent(Color, float)

Construct a stop expressed as a percentage of the gradient extent.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static BackgroundGradientStop Percent(Color color, float fraction)

Parameters

color


fraction

Returns

Type

Description

BackgroundGradientStop