文档

Unity Engine

Unity Engine

SetColor(Color)

Set the color of the renderer. Will be multiplied with the UIVertex color and the Canvas color.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule
public void SetColor(Color color)

Parameters

color

Renderer multiply color.