logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class FlinchActionSOTests

    Tests for FlinchActionSO's optional directional lean: sampling the direction state keys once in OnStart, and leaning the spine/chest away from the sampled hit direction in Tick.

    Inheritance
    object
    FlinchActionSOTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityProceduralAnimator.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class FlinchActionSOTests

    Constructors

    FlinchActionSOTests()

    Declaration
    public FlinchActionSOTests()

    Methods

    TearDown()

    Declaration
    public void TearDown()

    Tick_WithRightKeyPositive_LeansSpineAwayFromRight()

    Declaration
    public void Tick_WithRightKeyPositive_LeansSpineAwayFromRight()

    Tick_WithoutDirectionKeys_AddsNoLeanBoneEntries()

    Declaration
    public void Tick_WithoutDirectionKeys_AddsNoLeanBoneEntries()

    Tick_WithoutDirectionKeys_MatchesLegacyPose()

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