a.spritestudio.editor.xml.NodeReader.Attribute C# (CSharp) Method

Attribute() public method

属性の取得
public Attribute ( string tag ) : AttributeReader
tag string
return AttributeReader
        public AttributeReader Attribute( string tag )
        {
            foreach ( XmlAttribute attribute in node_.Attributes ) {
                if ( attribute.Name == tag ) {
                    return new AttributeReader( attribute );
                }
            }
            return null;
        }