728x90 spectrum1 Unity & C# ~ Mic 음성을 Spectrum 표현하기 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; [RequireComponent(typeof(AudioSource))] public class AudioSourceGetSpectrumDataExample : MonoBehaviour { [SerializeField] private Image bar; // 원본 막대 prefab [SerializeField] private Transform trBarParent; // 막대 부모 // 스펙트럼 표현 막대들 // Canvas 하위 객체 private RectTransform[] bars = new RectTransform[128.. 2022. 10. 5. 이전 1 다음 SMALL