A small script I made when I was working on the Love, Money, Rock 'n' Roll VN.
With this script you can easily create animation keyframes for a Live2D model inside Unity Animation window and play animation in edit mode.
Download the latest .unitypackage file from Releases Page and import it into your project (Assets -> Import Package -> Custom Package).
- Add CubismPoser component to your Live2D Model Prefab.
- Open the Animation Window (Window -> Animation -> Animation or press Ctrl + 6)
- Click the record button and change the Live2D model parameter values — the timeline will track the changes and create keyframes.
example.mp4
You can also create keyframes for specific properties by selecting them in the CubismPoser Inspector and clicking the Create Keyframes For Selected button (active only in record mode):
example2.mp4
You can create parameter groups for quick selection:
example3.mp4
Groups settings are stored in the CubismPoser/Prefabs/PoserGroups.prefab. Any parameter starting with a name in the list (regardless of case) will be selected when the group is selected: