logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AnimatorControllerClipRewirerTests

    EditMode tests for AnimatorControllerClipRewirer. Every fixture (controller, clips, blend trees) is built directly against the low-level UnityEditor.Animations API under a private temp folder and torn down after each test, mirroring ModelAnimatorCreatorTests and ModelAnimationScannerTests — including the blend-parameter gotcha the latter already documents: a UnityEditor.Animations.BlendTree.blendParameter must name a parameter the controller actually declares, or the blend tree silently binds to nothing.

    Inheritance
    object
    AnimatorControllerClipRewirerTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.AnimationHub.Tests.Editor
    Assembly: Tests.Editor.dll
    Syntax
    public class AnimatorControllerClipRewirerTests

    Constructors

    AnimatorControllerClipRewirerTests()

    Declaration
    public AnimatorControllerClipRewirerTests()

    Methods

    FindStatesUsing_ClipUsedAcrossTwoLayers_ReturnsEveryUsingState()

    Declaration
    public void FindStatesUsing_ClipUsedAcrossTwoLayers_ReturnsEveryUsingState()

    ReplaceMotion_BlendTreeChildUsingTheSource_IsRepointed()

    Declaration
    public void ReplaceMotion_BlendTreeChildUsingTheSource_IsRepointed()

    ReplaceMotion_NestedBlendTreeInBlendTreeChildUsingTheSource_IsRepointedAndReportsTheInnerTree()

    Declaration
    public void ReplaceMotion_NestedBlendTreeInBlendTreeChildUsingTheSource_IsRepointedAndReportsTheInnerTree()

    ReplaceMotion_SingleStateUsingTheSource_IsRepointedToTheDestination()

    Declaration
    public void ReplaceMotion_SingleStateUsingTheSource_IsRepointedToTheDestination()

    ReplaceMotion_StateInsideANestedSubStateMachine_IsRepointed()

    Declaration
    public void ReplaceMotion_StateInsideANestedSubStateMachine_IsRepointed()

    ReplaceMotion_UnrelatedStatesAndBlendTreeChildren_AreLeftUntouched()

    Declaration
    public void ReplaceMotion_UnrelatedStatesAndBlendTreeChildren_AreLeftUntouched()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()
    In this article
    © 2026 Serenity. All Rights Reserved