Documentation

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.
Read time 1 minuteLast updated a month ago

Definition

public static int DecodeIdFromColor(Color color)

Parameters

color

Returns

Type

Description

int