Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetColor(Color)

Set the color of the renderer. Will be multiplied with the UIVertex color and the Canvas color.
Read time 1 minuteLast updated 4 days ago

Definition

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

Parameters

color

Renderer multiply color.