title: How do I use a variable after a transform
body: <p>I'm using unity so this is all unity</p>
  
  <p>For example if I have
  <code>string direction = left;</code></p>
  
  <p>I want to do
  <code>transform.left;</code> as
  <code>transform.direction;</code></p>
  
  <p>It throws an error when I do this cause transforms font have direction as one of those things after the dot.</p>