禁用FaderLog
This commit is contained in:
@@ -52,7 +52,7 @@ namespace OCES.Audio
|
||||
|
||||
if (transition?.FadeOutOffset > 0f)
|
||||
{
|
||||
Debug.Log($"Waiting for {transition.FadeOutOffset} to fade out.");
|
||||
//Debug.Log($"Waiting for {transition.FadeOutOffset} to fade out.");
|
||||
yield return new WaitForSeconds(transition.FadeOutOffset);
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ namespace OCES.Audio
|
||||
{
|
||||
if (transition?.FadeOutOffset > 0f)
|
||||
{
|
||||
Debug.Log($"Waiting {transition.FadeInOffset} to fade in.");
|
||||
//Debug.Log($"Waiting {transition.FadeInOffset} to fade in.");
|
||||
yield return new WaitForSeconds(transition.FadeInOffset);
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ namespace OCES.Audio
|
||||
|
||||
IEnumerator FadeOut(ContainerPlayHandle handle, float fromVolume, float duration)
|
||||
{
|
||||
Debug.Log($"Fading out in {duration} seconds.");
|
||||
//Debug.Log($"Fading out in {duration} seconds.");
|
||||
if (handle == null || handle.Cancelled) yield break;
|
||||
|
||||
float elapsed = 0f;
|
||||
@@ -117,7 +117,7 @@ namespace OCES.Audio
|
||||
|
||||
IEnumerator FadeIn(ContainerPlayHandle handle, float duration)
|
||||
{
|
||||
Debug.Log($"Fading In {duration} seconds.");
|
||||
//Debug.Log($"Fading In {duration} seconds.");
|
||||
if (handle == null || handle.Cancelled) yield break;
|
||||
|
||||
float elapsed = 0f;
|
||||
|
||||
Reference in New Issue
Block a user