Version: 2023.2
言語: 日本語
public float wetMix ;

説明

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

using UnityEngine;

[RequireComponent(typeof(AudioSource))] [RequireComponent(typeof(AudioEchoFilter))] public class Example : MonoBehaviour { // Mixes both Echo generated sound and the original audio source // if you set the wetMix to 0 you will not have Echo sounds.

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