コード例 #1
0
ファイル: ShipUtils.cs プロジェクト: syncsyncsynchalt/BD-6Kr
 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);
 }