ドキュメント

Unity Engine

Unity Engine

delay

Echo delay in ms. 10 to 5000. Default = 500.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AudioModule
public float delay { get; set; }

Examples

using UnityEngine;[RequireComponent(typeof(AudioSource))][RequireComponent(typeof(AudioEchoFilter))]public class Example : MonoBehaviour{ // Set the delay on the chorus filter to the max working value. void Start() { GetComponent<AudioEchoFilter>().delay = 5000f; }}