コード例 #1
0
    public void Speak(ECvType content)
    {
        string path = AudioConfig.GetCVPath(SystemVoiceType, content);

        //Debug.Log ("GameClientManager.Speak("+path+")");
        AudioManager.Get().PlaySFX(path);
    }
コード例 #2
0
    public void Speak(ECvType content)
    {
        //Debug.Log (OwnerPlayer.Name+ "Speak "+content.ToString());
        string path = AudioConfig.GetCVPath(OwnerPlayer.VoiceType, content);

        //Debug.Log ("Speak("+path+")");
        AudioManager.Get().PlaySFX(path);
        //Debug.LogWarning( type.ToString() + "!!!" );
    }
コード例 #3
0
ファイル: AgariPanel.cs プロジェクト: iuvei/mahjong3d
    void PlayLevelVoice(int level)
    {
        ECvType cv = ECvType.ManGan;

        switch (level)
        {
        default:
        case 0: return;

        case 1: cv = ECvType.ManGan; break;

        case 2: cv = ECvType.HaReMan; break;

        case 3: cv = ECvType.BaiMan; break;

        case 4: cv = ECvType.SanBaiMan; break;

        case 5: cv = ECvType.YakuMan; break;
        }

        string cvPath = AudioConfig.GetCVPath(currentAgari.agariPlayer.VoiceType, cv);

        AudioManager.Get().PlaySFX(cvPath);
    }
コード例 #4
0
 public void Speak(ECvType content)
 {
     AudioManager.Get().PlaySFX(AudioConfig.GetCVPath(OwnerPlayer.VoiceType, content));
     //Debug.LogWarning( type.ToString() + "!!!" );
 }
コード例 #5
0
 public void Speak(ECvType content)
 {
     AudioManager.Get().PlaySFX(AudioConfig.GetCVPath(SystemVoiceType, content));
 }