Getting name of class member
<p>I have a class <code>Trigger</code> with some members of type <code>SimpleAction</code>:</p>

<pre><code>public SimpleAction OnOver;
public SimpleAction OnOut;
public SimpleAction OnDown;
public SimpleAction OnUp;
public SimpleAction OnClick;
public SimpleAction OnHold;
</code></pre>

<p>Now, from another class I'm doing this:</p>

<pre><code>MemberInfo[] members = triggerScript.GetType().GetMembers();
    foreach (MemberInfo item in members) {
            Debug.Log(item.Name);
    }
</code></pre>

<p>In log massages I can see list of names of all members of <code>Trigger</code> class. OnOver, OnOut atc are in that list too. But how can I separate members of type <code>SimpleAction</code> from others?
<code>item.DeclaringType</code> is type of <code>Trigger</code>
<code>item.MemberType</code> is "field" for tham.
<code>item.ReflectedType</code> is <code>Trigger</code> too.
<strong>How can I get a member list of <code>SimpleAction</code> type?</strong></p>
