Beispiel #1
0
 public void SetAudioFile(string text)
 {
     this.myAudioFile = Main.pathWWW + Main.PathAudioWWW + text + ".ogg";
     if (audioChar.IsMale())
     {
         //Debug.Log("----------------  is male");
         this.fullPath = "file:///" + this.myAudioFile;
     }
     else
     {
         //Debug.Log("----------------  is female");
         this.fullPath = "file:///" + this.myAudioFile.Remove(this.myAudioFile.Length - 4, 4) + "F.ogg";
     }
 }