private void setAnimationState(AnimState state) { AnimState currentState = animationModule.animState; if (state == AnimState.STOPPED_END) { engineModule.OnActive(); } }