public Material splash;//图片材质
private void Awake() {
StartCoroutine("LoadImg");
}
IEnumerator LoadImg() {
//打包后生成的exe所
Unity加载本地图片并动态替换图片材质
最新推荐文章于 2024-05-17 13:13:58 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
public Material splash;//图片材质
private void Awake() {
StartCoroutine("LoadImg");
}
IEnumerator LoadImg() {
//打包后生成的exe所