UGUI_RawImage

public class L8 : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        //代码控制
        RawImage raw =GetComponent<RawImage>();
        raw.texture = Resources.Load<Texture>("");
    }
}
posted @ 2025-04-04 17:27  cannedmint  阅读(12)  评论(0)    收藏  举报