It still doesn't make sense though.
That's what happens in my game.
Frame 1: Update AI script.
Frame 1: Update Charecter script.
Frame 2: Update AI script. Causes move.
Frame 2: Update Charecter script. Start move. (at 2 frame of life)
Probably it is a Unity bug. In any case, thank you for your attention. 8)
24 фев 2017, 19:11
I find source of problems. SkeletonAnimationInspector line 134.
if (!multi && Application.isPlaying) {
TrackEntry current = skeletonAnimation.state.GetCurrent(0);
if (current != null) {
if (skeletonAnimation.AnimationName != animationName.stringValue)
animationName.stringValue = current.Animation.Name;
}
}
If comment line 134 deactivation does not occur.