Пример #1
0
        public void CreateMountAnimation()
        {
            var newRiderAnim = CreateAnimationGenerator().GenerateMountAnimation(_mount.AnimationClip, _rider.AnimationClip);

            // Apply
            _newAnimation.CopyMeshFromOther(_rider, true);
            _newAnimation.SetAnimationClip(newRiderAnim, new SkeletonAnimationLookUpHelper.AnimationReference("Generated animation", null));
            _newAnimation.IsSkeletonVisible = DisplayGeneratedSkeleton.Value;
            UpdateCanSaveAndPreviewStates();
        }