void Reg(string type, Action <string, TagAttributes> fun)
        {
            TagFuns.Add(type, (string key, string param) =>
            {
                s_TagAttributes.Release();
                s_TagAttributes.Add(param);

                try
                {
                    fun(type, s_TagAttributes);
                }
                catch (Exception ex)
                {
                    Debug.LogException(ex);
                }

                s_TagAttributes.Release();
            });
        }