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