private void MountTagSeleted(FragmentStatusSlotItem value) { if (value != null) { var file = _pfs.FindFile(value.Entry.Value.AnimationFile); var animationRef = _skeletonAnimationLookUpHelper.FindAnimationRefFromPackFile(file, _pfs); _mount.SetAnimation(animationRef); var lookUp = "RIDER_" + value.Entry.Value.Slot.Value; SelectedRiderTag.Filter = ""; SelectedRiderTag.SelectedItem = SelectedRiderTag.Values.FirstOrDefault(x => x.Entry.Value.Slot.Value == lookUp); } _validateAction(); }
private void RiderTagSelected(FragmentStatusSlotItem value) { if (value != null) { var file = _pfs.FindFile(value.Entry.Value.AnimationFile); if (file == null) { _rider.SetAnimation(null); } else { var animationRef = _skeletonAnimationLookUpHelper.FindAnimationRefFromPackFile(file, _pfs); _rider.SetAnimation(animationRef); } } _validateAction(); }