摘要:
背景 之前尝试在Unity编辑器用代码读取打包好的数据,发现在布置场景的时候不能做到所见即所得,这里将运行时读取到的图片素材,保存为spritesheet,并设置对应的sprite。 效果展示 代码 using System; using System.Collections.Generic; us 阅读全文
摘要:
```C# using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(SpriteRenderer))] public class SpriteFul 阅读全文