Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ObjectIdResult.DecodeIdFromColor

Declaration

public static int DecodeIdFromColor(Color color);

Description

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.