title: "Object does not match target type" when calling methods using string in C#
body: <p>I'm trying to call a method using a string, but there a problem:</p>
  
  <pre><code>void make_moviment(string mov,Vector3 new_mov){
      GameObject past_panel = GameObject.Find(actual_level.ToString());
      Type t = Type.GetType(past_panel.GetComponents&lt;MonoBehaviour&gt;()[0].GetType ().Name);
      MethodInfo method = t.GetMethod("get_answer");
      method.Invoke(t,new object[] { mov }));   &lt;--- PROBLEM HERE
  }
  </code></pre>
  
  <p>There's always this error "Object does not match target type" related with the last line. Do you have any recommendations? </p>