Update AnimationStateNode.hx
This commit is contained in:
parent
be137c3805
commit
56f101e403
|
@ -18,10 +18,10 @@ class AnimationStateNode extends LogicNode {
|
|||
if (animation == null) animation = object.getParentArmature(object.name);
|
||||
|
||||
return switch (from) {
|
||||
case 0: animation.action;
|
||||
case 1: animation.currentFrame();
|
||||
case 2: animation.paused;
|
||||
default: null;
|
||||
case 0: animation.action;
|
||||
case 1: animation.currentFrame();
|
||||
case 2: animation.paused;
|
||||
default: null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue