title: UNITY C# - How can I get all the fields of the an instance of a class marked with my custom atribute(the fields)?
body: <p>In Unity Ive got a object of a class with many fields. Some of them are marked with [CockpitControlled] attribute, which I defined as:</p>
  <pre><code>[AttributeUsage(AttributeTargets.Field)]
  public class CockpitControlled : Attribute
  {
  
  }
  </code></pre>
  <p>In some other class I would to get a list of all those field as I would like to change them.
  Question is how?</p>