Class UnityAssetUtilsWarmUpTests
The first play of a clip warms it up, and a game plays its first sounds from wherever gameplay happens — a trigger or a collision included. The warm-up must be safe from those callbacks: no warning in the console and no warm-up object left behind.
Inherited Members
Namespace: Serenity.UnityGlobal.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UnityAssetUtilsWarmUpTests
Constructors
UnityAssetUtilsWarmUpTests()
Declaration
public UnityAssetUtilsWarmUpTests()
Methods
EnsureAudioClipWarmedUp_FromAPhysicsTrigger_LogsNothingAndLeavesNothingBehind()
Declaration
public IEnumerator EnsureAudioClipWarmedUp_FromAPhysicsTrigger_LogsNothingAndLeavesNothingBehind()
Returns
| Type | Description |
|---|---|
| IEnumerator |
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()