logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityGraphicColorApplierTests

    PlayMode tests for UnityGraphicColorApplier. Registers real GameObjects carrying UGUI UnityEngine.UI.Image components and asserts their live UnityEngine.UI.Graphic.color after applying UiColorDeltas — mirrors UnityTransformApplierTests's self-correcting-applier coverage shape, adapted for this applier's per-target collection-of-slots model instead of one component per target.

    Inheritance
    object
    UnityGraphicColorApplierTests
    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 UnityGraphicColorApplierTests

    Constructors

    UnityGraphicColorApplierTests()

    Declaration
    public UnityGraphicColorApplierTests()

    Methods

    AdoptBase_ExternalColorChangeBetweenApplies_AdoptsAsNewBase()

    Declaration
    public void AdoptBase_ExternalColorChangeBetweenApplies_AdoptsAsNewBase()

    Apply_DestroyedGraphic_ToleratedWithoutThrow()

    Declaration
    public void Apply_DestroyedGraphic_ToleratedWithoutThrow()

    Apply_EntryDisappears_RestoresBaseExactlyOnce()

    Declaration
    public void Apply_EntryDisappears_RestoresBaseExactlyOnce()

    Apply_InactiveGraphic_StillWritesColor_NoThrow_AndBehavesOnceReactivated()

    Declaration
    public void Apply_InactiveGraphic_StillWritesColor_NoThrow_AndBehavesOnceReactivated()

    Apply_NullDelta_DoesNotThrow()

    Declaration
    public void Apply_NullDelta_DoesNotThrow()

    Apply_TintAlphaHalf_FullWeight_MultipliesBaseAlphaByTintAlpha()

    Declaration
    public void Apply_TintAlphaHalf_FullWeight_MultipliesBaseAlphaByTintAlpha()

    Apply_TintAlphaHalf_HalfWeight_LerpsBaseAlphaTowardBaseTimesTintAlpha()

    Declaration
    public void Apply_TintAlphaHalf_HalfWeight_LerpsBaseAlphaTowardBaseTimesTintAlpha()

    Apply_TintEntry_FullWeight_MultipliesBaseByTint()

    Declaration
    public void Apply_TintEntry_FullWeight_MultipliesBaseByTint()

    Apply_TintEntry_HalfWeight_LerpsBetweenBaseAndBaseTimesTint()

    Declaration
    public void Apply_TintEntry_HalfWeight_LerpsBetweenBaseAndBaseTimesTint()

    Apply_UndrivenTarget_NeverWritesColor()

    Declaration
    public void Apply_UndrivenTarget_NeverWritesColor()

    ClearTargets_RestoresAllDrivenSlots()

    Declaration
    public void ClearTargets_RestoresAllDrivenSlots()

    HierarchyCountRescan_NewChildImage_PreservesExistingDrivenSlotAndPicksUpNewSlot()

    Declaration
    public void HierarchyCountRescan_NewChildImage_PreservesExistingDrivenSlotAndPicksUpNewSlot()

    RegisterTarget_IncrementsTargetCount()

    Declaration
    public void RegisterTarget_IncrementsTargetCount()

    RegisterTarget_NullRoot_NotRegistered()

    Declaration
    public void RegisterTarget_NullRoot_NotRegistered()

    RegisterTarget_ReRegisteringAlreadyDrivenId_RestoresBaseBeforeRebuilding()

    Declaration
    public void RegisterTarget_ReRegisteringAlreadyDrivenId_RestoresBaseBeforeRebuilding()

    RestoreDrivenSlots_RestoresWithoutUnregistering()

    Declaration
    public void RestoreDrivenSlots_RestoresWithoutUnregistering()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()

    UnregisterTarget_RemovesTarget()

    Declaration
    public void UnregisterTarget_RemovesTarget()

    UnregisterTarget_RestoresDrivenSlotToBase()

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