文档

Unity Engine

Download Unity

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 分钟最后更新于 1 个月前

Definition

public static int DecodeIdFromColor(Color color)

Parameters

color

Returns

Type

Description

int