logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityAudioPlayerServicePlacementTests

    PlayMode tests for ApplyPlaybackPlacement(AudioSource, AudioPlayerPlayClipInput).
    The rule is binary: a clip played with a position is 3D and its emitter moves there; a clip played without a position is 2D and its emitter is left in place.

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

    Constructors

    UnityAudioPlayerServicePlacementTests()

    Declaration
    public UnityAudioPlayerServicePlacementTests()

    Methods

    Placement_NoPosition_MakesSound2DAndLeavesEmitterInPlace()

    Declaration
    public void Placement_NoPosition_MakesSound2DAndLeavesEmitterInPlace()

    Placement_WithPosition_MakesSound3DAndMovesEmitter()

    Declaration
    public void Placement_WithPosition_MakesSound3DAndMovesEmitter()

    Placement_WithPosition_MovesEmitterRegardlessOfPriorLocation()

    Declaration
    public void Placement_WithPosition_MovesEmitterRegardlessOfPriorLocation()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

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