📜  unity 设置精灵透明度 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:06.596000             🧑  作者: Mango

代码示例1
// You can set the transparency together with the color:
SpriteRenderer.color = new Color(1f,1f,1f,1f);