a.spritestudio.editor.xml.NodeReader.Attribute C# (CSharp) 메소드

Attribute() 공개 메소드

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