一、在DragonBones中添加自定义事件帧 动画制作时 时间轴拉到最下面有一个事件层,添加一个事件帧 左边属性面板定义自定义事件 二、Egret中监听事件 新建一个测试用骨骼动画test 1 2 3 4 5 6 7 8 9 //新建测试用骨骼动画 letarmatureDisplay:dragonBones.EgretArmatureDisplay; letfactory = dragonBones.EgretFactor...
using UnityEngine; using DragonBones; public class DragonDemo : MonoBehaviour { [SerializeField] private UnityArmatureComponent dragon; private ListenerDelegate<EventObject> dbDelegate; // Start is called before the first frame update void Start() { this.dbDelegate = new ListenerDelegate<EventObject>(...
这个错误发生在 处理完 “dragonBones.EventObject.SOUND_EVENT” 之后: 屏幕快照 2019-01-22 下午2.31.05.png1900×1080 209 KB 这是示例工程,打开后运行即可复现这个bug(walk动画有声音事件): DBSoundEventDemo.zip(999.9 KB) 刚才打开龙骨Github项目,发现这个: factory.soundEventManager.on(dragonBones.EventObjec...
using UnityEngine; using DragonBones; public class DragonDemo : MonoBehaviour { [SerializeField] private UnityArmatureComponent dragon; private ListenerDelegate<EventObject> dbDelegate; // Start is called before the first frame update void Start() { this.dbDelegate = new ListenerDelegate<EventObject>(...