logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityAudioPortalComponentTests

    Tests for how UnityAudioPortalComponent joins the nearest UnityAudioRoomComponent above it while it is open (enabled, on an active GameObject) and leaves it when it closes. Rooms use registries the tests own, never the shared one.

    Inheritance
    object
    AudioRoomTestFixture
    UnityAudioPortalComponentTests
    Inherited Members
    AudioRoomTestFixture.CreateRegistryAndObjects()
    AudioRoomTestFixture.AssertTheSharedRegistryIsEmptyThenDestroyTheObjects()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityAudioPlayer.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class UnityAudioPortalComponentTests : AudioRoomTestFixture

    Constructors

    UnityAudioPortalComponentTests()

    Declaration
    public UnityAudioPortalComponentTests()

    Methods

    AncestorReparented_JoinsTheNewRoom()

    Declaration
    public void AncestorReparented_JoinsTheNewRoom()

    AncestorReparented_LeavesTheOldRoom()

    Declaration
    public void AncestorReparented_LeavesTheOldRoom()

    Component_ImplementsPortalSeamExplicitly()

    Declaration
    public void Component_ImplementsPortalSeamExplicitly()

    Deactivated_IsClosed()

    Declaration
    public void Deactivated_IsClosed()

    Destroyed_Leaves()

    Declaration
    public void Destroyed_Leaves()

    Disabled_Leaves()

    Declaration
    public void Disabled_Leaves()

    Enabled_JoinsTheRoomOnce()

    Declaration
    public void Enabled_JoinsTheRoomOnce()

    FindOwningRoom_RoomAboveIsInactive_StillFindsIt()

    Declaration
    public void FindOwningRoom_RoomAboveIsInactive_StillFindsIt()

    NestedRooms_TheNearestRoomAboveThePortalWins()

    Declaration
    public void NestedRooms_TheNearestRoomAboveThePortalWins()

    NoParentRoom_IsInert()

    Declaration
    public void NoParentRoom_IsInert()

    ParentChangedWhileDisabled_JoinsNoRoomYet()

    Declaration
    public void ParentChangedWhileDisabled_JoinsNoRoomYet()

    ParentChangedWhileDisabled_JoinsTheNewRoomOnTheNextEnable()

    Declaration
    public void ParentChangedWhileDisabled_JoinsTheNewRoomOnTheNextEnable()

    PortalOnTheRoomsOwnGameObject_JoinsIt()

    Declaration
    public void PortalOnTheRoomsOwnGameObject_JoinsIt()

    Position_FollowsTheTransform()

    Declaration
    public void Position_FollowsTheTransform()

    ReEnabled_JoinsOnce()

    Declaration
    public void ReEnabled_JoinsOnce()

    Reactivated_JoinsTheRoomAgain()

    Declaration
    public void Reactivated_JoinsTheRoomAgain()

    Reparented_JoinsTheNewRoom()

    Declaration
    public void Reparented_JoinsTheNewRoom()

    Reparented_LeavesTheOldRoom()

    Declaration
    public void Reparented_LeavesTheOldRoom()

    RoomActivatedAfterItsPortalChildWasAdded_ListsThePortal()

    Declaration
    public void RoomActivatedAfterItsPortalChildWasAdded_ListsThePortal()

    RoomComponentDestroyedWhileThePortalSurvives_ThePortalHasNoRoomAndThrowsNothing()

    Declaration
    public void RoomComponentDestroyedWhileThePortalSurvives_ThePortalHasNoRoomAndThrowsNothing()

    RoomDestroyedWithItsPortal_LeavesNothingBehindAndThrowsNothing()

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