title: Get selected component in Unity Inspector window
body: <p>I'm trying to make a custom inspector with functionality that applies to all kind of built-in components.</p>
  <p>What I'm really trying to do is get as a string the name of the property selected in blue in the inspector when I select it. Is there any way?
  Example: When highlighting Local Position, is there any way to get &quot;Transform Component - LocalPosition (0,0,0);
  <a href="https://i.stack.imgur.com/FkqUT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FkqUT.png" alt="Unity Editor highlighted element" /></a></p>
  <p>I tried reading the API to know if there's something that could help me but haven't had any luck. Also tried using <code>CustomEditor(TypeOf(Transform))</code> but I'm not able to access the values when highlighting.</p>
  <p>Any help would be really appreciated!</p>