public static void PlayOrderSound() { OrderSound soundSource = GameObject.FindObjectOfType <OrderSound>(); soundSource.GetComponent <AudioSource>().volume = soundEffectVolume * 0.1f; soundSource.GetComponent <AudioSource>().Play(); }
private void OnSoundCompleate(int obj) { speaches = SoundManager.GetSound(obj); SoundManager.OnCompleate2(obj); }