Ejemplo n.º 1
0
        public void NewText(string text, CharHandler handler, HUDTextType type)
        {
            HUDTextItem item      = GetText(type);
            Vector3     createPos = handler.UIFollowGo.transform.position;

            item.Show(text, handler, type, createPos);
        }
Ejemplo n.º 2
0
        //回收一个HUD SkillName对象
        public void GetBackSkillText(HUDTextItem item)
        {
            item.gameObject.SetActive(false);
            if (poolSkill.Contains(item))
            {
                return;
            }

            poolSkill.Enqueue(item);
        }