Component里有scheduleOnce, unschedule等,但是没有setTimeScale,我需要单一元件schedul加速而不是全局加速的功能,所以不能使用director上的schedule,原本node上的setScheduler也没了,请问这有解吗?
你好目前确实没有每个组件独立的时间线控制。请通过动画系统来实现时间缩放。具体做法是修改 AnimationState.speed,就能满足你效果上的需求。
Component里有scheduleOnce, unschedule等,但是没有setTimeScale,我需要单一元件schedul加速而不是全局加速的功能,所以不能使用director上的schedule,原本node上的setScheduler也没了,请问这有解吗?
你好目前确实没有每个组件独立的时间线控制。请通过动画系统来实现时间缩放。具体做法是修改 AnimationState.speed,就能满足你效果上的需求。