Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetAlpha(float)

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

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule
public void SetAlpha(float alpha)

Parameters

alpha

Alpha.