摘要:
public class L36 : MonoBehaviour { private SkeletonAnimation sa; // Start is called before the first frame update void Start() { sa = GetComponent<Ske 阅读全文
posted @ 2025-04-02 19:10
cannedmint
阅读(50)
评论(0)
推荐(0)
摘要:
public class L9 : MonoBehaviour { // Start is called before the first frame update void Start() { //相关参数 #region Draw Mode 绘制模式下,尺寸变化时的缩放方式 //Simple 缩 阅读全文
posted @ 2025-04-02 17:38
cannedmint
阅读(24)
评论(0)
推荐(0)
摘要:
public class L35 : MonoBehaviour { // Start is called before the first frame update void Start() { //使用Spine导出的骨骼动画 //方法一.直接将_SkeletonData文件拖入场景中,选择创建 阅读全文
posted @ 2025-04-02 17:27
cannedmint
阅读(92)
评论(0)
推荐(0)
摘要:
public class L34 : MonoBehaviour { // Start is called before the first frame update void Start() { //保证各部位位置在ps文件中的统一 //基础部位可以选择性隐藏 //不同文件的骨骼信息必须统一,所以 阅读全文
posted @ 2025-04-02 16:49
cannedmint
阅读(23)
评论(0)
推荐(0)
摘要:
public class L33 : MonoBehaviour { public SpriteResolver spriteResolver; private Dictionary<string,SpriteResolver> equipDic = new Dictionary<string,Sp 阅读全文
posted @ 2025-04-02 16:22
cannedmint
阅读(25)
评论(0)
推荐(0)
摘要:
public class L31 : MonoBehaviour { // Start is called before the first frame update void Start() { //psb相关参数 //Mosaic 将图层生成Sprite并合并成单个纹理 //Character 阅读全文
posted @ 2025-04-02 10:30
cannedmint
阅读(16)
评论(0)
推荐(0)
摘要:
public class L30 : MonoBehaviour { // Start is called before the first frame update void Start() { //1.把Sprite设置为图集 //2.对Sprite进行切片 //完成这两步之后才能对图集图片进行 阅读全文
posted @ 2025-04-02 10:03
cannedmint
阅读(7)
评论(0)
推荐(0)
摘要:
public class L29 : MonoBehaviour { // Start is called before the first frame update void Start() { //Unity中制作2D骨骼动画 //1.使用2D Animation制作 //2.使用跨平台骨骼动画 阅读全文
posted @ 2025-04-02 09:40
cannedmint
阅读(17)
评论(0)
推荐(0)

浙公网安备 33010602011771号