Exemple #1
0
 public void ShowGeneralHint(GeneralHintDialogItem item)
 {
     UIManager.Instance.Register <UI.GeneralHintDialogContext>(UIPath.WindowPath.General_Hint_Dialog);
     UIManager.Instance.PopUpWnd(UIPath.WindowPath.General_Hint_Dialog, WindowType.SPContent, true, item);
 }
Exemple #2
0
        /// <summary>
        /// 显示通用提示条
        /// </summary>
        /// <param name="textID"></param>
        /// <param name="duration"></param>
        public void ShowGeneralHint(string textID, float duration)
        {
            GeneralHintDialogItem item = new GeneralHintDialogItem(textID, duration);

            PopUpWnd(UIPath.WindowPath.General_Hint_Dialog, WindowType.Dialog, true, item);
        }