public virtual void ParseXML(XmlNode node)
        {
            if (node == null)
            {
                return;
            }

            if (node.Attributes.Count > 0)
            {
                try
                {
                    objType = node.Attributes["objType"].Value;
                    objName = node.Attributes["objName"].Value;
                    objID   = node.Attributes["objID"].Value;
                    string[] xybind = node.Attributes["bindSpaceXY"].Value.Split(',');
                    bindSpaceXY = new Vector2(int.Parse(xybind[0]), int.Parse(xybind[1]));
                    direction   = node.Attributes["direction"].Value;
                }
                catch (Exception)
                {
                    Debug.LogError("MapXMLVariableItem--SpaceObj.ParseXML()读取参数失败!");
                    TLogger.LogError("MapXMLVariableItem--SpaceObj.ParseXML()读取参数失败!");
                }
            }
        }
        public virtual void ParseXML(XmlNode node)
        {
            if (node == null)
            {
                return;
            }

            if (node.Attributes.Count > 0)
            {
                try
                {
                    string[] xyAnnotation = node.Attributes["xyAnnotation"].Value.Split(',');
                    XYAnnotation = new Vector2(int.Parse(xyAnnotation[0]), int.Parse(xyAnnotation[1]));
                }
                catch (Exception)
                {
                    Debug.LogError("MapXMLVariableItem--SpaceConfine.ParseXML()读取参数失败!");
                    TLogger.LogError("MapXMLVariableItem--SpaceConfine.ParseXML()读取参数失败!");
                }
            }
        }