📅  最后修改于: 2022-03-11 14:48:47.196000             🧑  作者: Mango
GameObject g;
// 50% Transparency.
g.renderer.material.color.a = 0.5f; // a is the alpha value.
// 100% Transparency.
g.renderer.material.color.a = 1.0f;