public void Stop(string name) { SoundT1 s = Array.Find(sounds, sound => sound.name == name); s.source.Stop(); }
public void Play(string name) { SoundT1 s = Array.Find(sounds, sound => sound.name == name); s.source.Play(); }