文档

Unity Engine

Unity Engine

DecodeIdFromColor(Color)

A utility function that can be used to decode colors from ObjectIdRequest.destination to an index that can then be looked up in ObjectIdResult.idToObjectMapping.
阅读时间1 分钟最后更新于 21 天前

Definition

public static int DecodeIdFromColor(Color color)

Parameters

color

Returns

Type

Description

int