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