文档

Unity Engine

Unity Engine

ColorUtility

A collection of common color functions.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Class
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public class ColorUtility

Static Methods

Method

Description

ToHtmlStringRGBReturns the color as a hexadecimal string in the format "RRGGBB".
ToHtmlStringRGBAReturns the color as a hexadecimal string in the format "RRGGBBAA".
TryParseHtmlStringAttempts to convert a html color string.