📜  unity ui 更改精灵 - C# 代码示例

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

代码示例1
// TO change the sprite of an UI image, se below
GameObject.GetComponent().sprite = sprite;