Esempio n. 1
0
 public void init(string path, float gap)
 {
     audioSource.clip = ResourceInterface.LoadAudio(path);
     audioSource.Play();
     startPlay          = true;
     audioSource.volume = gap;
 }
Esempio n. 2
0
 public void init(string path)
 {
     audioSource.clip = ResourceInterface.LoadAudio(path);
     audioSource.Play();
     startPlay = true;
 }