Version: 2022.3
言語: 日本語
public float dryMix ;

説明

出力に渡す元の信号の音量。0 から 1 の間で設定(デフォルトは 1 )。

using UnityEngine;

[RequireComponent(typeof(AudioSource))] [RequireComponent(typeof(AudioEchoFilter))] public class Example : MonoBehaviour { // Listen to only Echo (not the original audio source) // Set the wet mix to 0 and you will disable the echo.

void Start() { GetComponent<AudioEchoFilter>().wetMix = 1.0f; GetComponent<AudioEchoFilter>().dryMix = 0.0f; } }