private void Awake() { Instance = this; audioSource = GetComponent <AudioSource>(); audioClip = null; savePath = Application.dataPath + "/audio/"; deviceName = GetDevice(); }
private void OnDestroy() { Instance = null; }