title: How do I convert a String to runnable code? (in Unity)
body: <p>I'm making a little game in unity and right now I'm trying to build the quest system.
  This game is going to be a simulation, so there's a huge amount of different data classes / systems the quests are going to have to interact with. 
  I <em>can</em> just make a bunch of utility classes... or even make a fake "database" to handle data calls... but that's inelegant.</p>
  
  <p>Surely there's gotta be a way where I can just denote actual code from a string?</p>
  
  <p>Example:</p>
  
  <pre><code>String questText = Hello player.getFullName();, how are you?
  
  questResults&lt;String&gt;[1] = player.inventory.add(GameObjectBuilder.Create(new WhateverObject()));
  </code></pre>
  
  <p>I am using Unity's <code>ScriptableObject</code> to make quests, so that I can fill in text data via the editor rather than do it on IDE side (especially since unity doesn't support interpolated &amp; composite strings as far as I know).</p>
  
  <p>I know Java has an API called "Reflection" which from what I understand does something like this, but I was never able to fully wrap my head around it. </p>
  
  <p>So how do I convert elements from a string into runnable code? </p>
  
  <p>If that is possible, will that cause preformance issues with an indefinate amount of objects that might be encountering scripts that need to be converted?</p>
  
  <p>Are there any other alternative methods that achieve a similar goal? (this one is just a curiosity)</p>