logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityAchievementAuthoredDefinitionInstallationTests

    PlayMode tests for the whole authored-achievement path: assets in, registry and condition map out, and the two ways an achievement actually unlocks — its authored tree crossing a score threshold on the evaluator's frame loop, and an UnlockAchievementSignal for the achievements that only code unlocks.

    Inheritance
    object
    UnityAchievementAuthoredDefinitionInstallationTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityAchievements.Tests.Installation
    Assembly: Tests.dll
    Syntax
    public class UnityAchievementAuthoredDefinitionInstallationTests
    Remarks

    Every achievement id is unique per run, because the shipped fallback store is the device's PlayerPrefs: a fixed id would let one run's unlock record decide the next run's assertion. The service is reset in teardown so the records do not accumulate either.

    Constructors

    UnityAchievementAuthoredDefinitionInstallationTests()

    Declaration
    public UnityAchievementAuthoredDefinitionInstallationTests()

    Methods

    Install_AchievementWithNoCondition_UnlocksThroughTheSignal()

    Declaration
    public IEnumerator Install_AchievementWithNoCondition_UnlocksThroughTheSignal()
    Returns
    Type Description
    IEnumerator

    Install_AuthoredDefinitions_AreDeclaredByTheService()

    Declaration
    public void Install_AuthoredDefinitions_AreDeclaredByTheService()

    Install_AuthoredScoreThreshold_UnlocksWhenTheMetricCrossesIt()

    Declaration
    public IEnumerator Install_AuthoredScoreThreshold_UnlocksWhenTheMetricCrossesIt()
    Returns
    Type Description
    IEnumerator

    Install_MalformedConditionTree_DropsThatAchievementAndKeepsTheOthers()

    Declaration
    public IEnumerator Install_MalformedConditionTree_DropsThatAchievementAndKeepsTheOthers()
    Returns
    Type Description
    IEnumerator

    SetUp()

    Declaration
    public void SetUp()

    UnityTearDown()

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