mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-05 06:44:56 +08:00
Merge branch 'master' of https://github.com/esotericsoftware/spine-runtimes
This commit is contained in:
commit
c43c71f067
@ -216,6 +216,18 @@ public class SkeletonViewer extends ApplicationAdapter {
|
||||
|
||||
if (ui.skinList.getSelected() != null) skeleton.setSkin(ui.skinList.getSelected());
|
||||
setAnimation();
|
||||
|
||||
// ui.animationList.clearListeners();
|
||||
// state.addListener(new AnimationState.AnimationStateAdapter() {
|
||||
// public void complete (TrackEntry entry) {
|
||||
// System.out.println("complete " + entry + ", " + entry.hashCode());
|
||||
// System.out.println("complete " + entry + ", " + entry.hashCode());
|
||||
// state.setAnimation(0, Math.random() > 0.5? "walk" : "jump", false);
|
||||
// state.update(0);
|
||||
// state.apply(skeleton);
|
||||
// }
|
||||
// });
|
||||
// state.setAnimation(0, "walk", true);
|
||||
}
|
||||
|
||||
void setAnimation () {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user