
Spine
Unity中使用Spine
款冬
所有文章搬运自个人Github: https://github.com/YuzikiRain/Learn。
如遇到csdn显示问题,复制文章标题到Github的Learn仓库中直接查看markdown原文
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
修改帧速率 modify fps
在Spine编辑器中的播放(Playback)中设置FPS即可,该fps设置会记录到导出的文件中,导入Unity中时会使用这个FPS来换算动画时长。原创 2020-06-27 10:21:49 · 2948 阅读 · 0 评论 -
描边shader outline shader
how to useduplicate origin material and check outline checkboxadd SkeletonRendererCustomMaterials component to gameobject with SkeletonAnimation(or SkeletonMecanim)set custom material overrides for every material, and uncheck override disabled checkbox原创 2020-06-27 10:21:00 · 745 阅读 · 0 评论 -
Dynamic Bones与Spine一起使用的Bug Spine with Dynamic Bones
利用DynamicBones组件使Spine的头发飘动,事先附加好组件DynamicBone和Spine的SkeletonUtilityBone,并将头发的所有骨骼的Mode设置为Override现象当DynamicBone组件一开始就是enable时,运行,DynamicBones没有效果,但将DynamicBones组件disble再enable后又有效了当DynamicBone组件一开始就是disable时,运行,然后再enable该组件,有效原因可能是SkeletonUtilityBo原创 2020-06-27 10:14:42 · 557 阅读 · 0 评论 -
Unity 实现 spine root motion 根骨骼动画位移 unity implement spine root motion
EnvironmentUnity2018.4.1f, Spine runtime for unity 3.7Stepsdrag the skeletonData to Hierarchy and choose “SkeletonMecanim”, then a “Unity Animator Controller” will be created where skeletonData is...原创 2019-07-28 15:57:12 · 2859 阅读 · 0 评论 -
Unity Spine 换装
结构Atlas List<AtlasRegion> regionsSkeleton ExposedList<Slot> slots获得SkeletonGetComponent<SkeletonMecanim>().Skeleton;GetComponent<SkeletonAnimation>().Skeleton;GetCompon...原创 2019-07-19 23:33:26 · 1958 阅读 · 0 评论 -
Spine控制碰撞体是否激活 use Spine to enable collider
步骤父物体(空)命名为SpineTest,子物体A为从Project窗口中拖放SkeletonData Asset到Hierarchy窗口实例化生成的物体,子物体HitBox(空)为子物体HitBox添加组件 BoundingBoxFollower ,设置SkeletonRenderer引用为子物体A上的组件,Slot为BoundingBox所在的Bone,并勾选IsTrigger(防止将物...原创 2019-07-19 23:32:39 · 721 阅读 · 0 评论 -
Unity中Spine导入和更新资源的正确姿势 Unity import & update Spine asset
ImportRename asset files below.atlas -> .atlas.txt.skel -> .skel.bytes.json -> .json.txtdrag asset files to Unity project window, or just copy to specified directoryUpdatedrag a...原创 2019-07-19 23:31:30 · 2389 阅读 · 0 评论