logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityTransformDistanceScoreMeterTests

    PlayMode tests for UnityTransformDistanceScoreMeter: axis masking, accumulation, scorePerUnit scaling, the teleport guard, the pre-registration gate (no self-register, no buffering, origin re-seed), the disable/enable lifecycle, and the grace-period warn-once latch.

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

    Constructors

    UnityTransformDistanceScoreMeterTests()

    Declaration
    public UnityTransformDistanceScoreMeterTests()

    Methods

    KeyRegisteredLate_AwardsNothingForThePreRegistrationTravel()

    Declaration
    public IEnumerator KeyRegisteredLate_AwardsNothingForThePreRegistrationTravel()
    Returns
    Type Description
    IEnumerator

    TearDown()

    Declaration
    public void TearDown()

    UnregisteredKey_AfterGracePeriod_WarnsExactlyOnce()

    Declaration
    public IEnumerator UnregisteredKey_AfterGracePeriod_WarnsExactlyOnce()
    Returns
    Type Description
    IEnumerator

    UnregisteredKey_AfterMovement_LeavesKeyUnregistered()

    Declaration
    public IEnumerator UnregisteredKey_AfterMovement_LeavesKeyUnregistered()
    Returns
    Type Description
    IEnumerator

    Update_AcrossMultipleFrames_AccumulatesDistance()

    Declaration
    public IEnumerator Update_AcrossMultipleFrames_AccumulatesDistance()
    Returns
    Type Description
    IEnumerator

    Update_MovementOnUnmeasuredYAxis_AwardsNothing_MovementOnXAndZ_AwardsPlanarDistance()

    Declaration
    public IEnumerator Update_MovementOnUnmeasuredYAxis_AwardsNothing_MovementOnXAndZ_AwardsPlanarDistance()
    Returns
    Type Description
    IEnumerator

    Update_MovementWhileDisabled_IsNotPaidOutOnReEnable()

    Declaration
    public IEnumerator Update_MovementWhileDisabled_IsNotPaidOutOnReEnable()
    Returns
    Type Description
    IEnumerator

    Update_TeleportBeyondMaxDelta_SkipsTheAwardAndReseedsTheOrigin()

    Declaration
    public IEnumerator Update_TeleportBeyondMaxDelta_SkipsTheAwardAndReseedsTheOrigin()
    Returns
    Type Description
    IEnumerator

    Update_WithScorePerUnit_ScalesTheAward_AccumulatedDistanceStaysRaw()

    Declaration
    public IEnumerator Update_WithScorePerUnit_ScalesTheAward_AccumulatedDistanceStaysRaw()
    Returns
    Type Description
    IEnumerator
    In this article
    © 2026 Serenity. All Rights Reserved