📅  最后修改于: 2022-03-11 14:49:21.885000             🧑  作者: Mango
using UnityEngine.UI;
public GameObject YourgameObjectWithImage;
YourgameObjectWithImage.GetComponent().color = new Color32(255, 255, 225, 225);