今天尝试使用unity timeline来做段动画, 发现BasicPlayableBehaviour已弃用, 而新的PlayableBehaviour不能直接往Playable Track拖。
翻了下文档使用PlayableAsset来新建PlayableBehaviour,然后使用ExposedReference,
例子:https://docs.unity3d.com/ScriptReference/ExposedReference_1.html
今天尝试使用unity timeline来做段动画, 发现BasicPlayableBehaviour已弃用, 而新的PlayableBehaviour不能直接往Playable Track拖。
翻了下文档使用PlayableAsset来新建PlayableBehaviour,然后使用ExposedReference,
例子:https://docs.unity3d.com/ScriptReference/ExposedReference_1.html