Exemplo n.º 1
0
    public void ShowTipMsg()
    {
        int       rand      = Random.Range(0, 4);
        Hashtable msgOption = new Hashtable();

        msgOption.Add(SpeechController.SpeechKeys.MessageText, string.Format(Localization.Localize("MINIPET_RETENTION_TIP_" + rand.ToString()), DataManager.Instance.GameData.PetInfo.PetName));
        speechController.TalkMiniPet(msgOption);
    }