文档

Unity Engine

Unity Engine

SetAlpha(float)

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

Definition

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

Parameters

alpha

Alpha.