public static AudioSource PlayEndingVoice(ShipModel model, int voiceNum) { if (SingletonMonoBehaviour <SoundManager> .Instance != null && SingletonMonoBehaviour <ResourceManager> .Instance != null) { return(SingletonMonoBehaviour <SoundManager> .Instance.PlayVoice(SingletonMonoBehaviour <ResourceManager> .Instance.ShipVoice.Load(model.GetVoiceMstId(voiceNum), voiceNum), 0, isObserver : false, null)); } return(null); }