Пример #1
0
    public static string GetCVPath(EVoiceType role, ECvType cv)
    {
        string roleStr = role.ToString().ToLower();
        string num     = ((int)cv).ToString("000");

        return(string.Format("Sounds/CV/sm_cv{0}{1}", roleStr, num));
    }
Пример #2
0
    public static string GetCVPath(EVoiceType role, ECvType cv)
    {
        string roleStr = role.ToString().ToLower();
        string num     = ((int)cv).ToString("000");
        string path    = string.Format("Sounds/CV/sm_cv{0}{1}", roleStr, num);

        //Debug.Log ("GetCVPath("+path+")");
        return(path);
    }
Пример #3
0
    public static string GetHCVPath(EVoiceType role, ECvType cv, Hai h)
    {
        string roleStr = role.ToString().ToLower();
        string num     = ((int)cv).ToString("000");
        string path    = string.Format("Sounds/MJ/b/{0}", h.ID);

        //Debug.Log ("GetHCVPath("+path+")");
        return(path);
    }
Пример #4
0
 public AI(string name, EVoiceType voiceType) : base(name, voiceType)
 {
 }
Пример #5
0
 public Player(string name, EVoiceType voiceType)
 {
     this._name      = name;
     this._voiceType = voiceType;
 }