오디오
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AudioManager : MonoBehaviour { public static AudioManager instance; public AudioSource musicSource; // 인스펙터에서 할당 public AudioSource sfxSource; // 인스펙터에서 할당 public AudioClip[] musicClips; public AudioClip[] sfxClips; void Awake() { if (instance == null) { instance = this; DontDestroyOnLoad(gameObject); } e..
2022.06.12