protected override void OnDeactivate() { Entity.OnAnimationChanged -= OnAnimationChanged; _updateHandler.TryDeactivate(); _configs.DisposeFactory(); }