title: Change Animator Controller by Script
body: <p>I have 2 Controllers may  </p>
  
  <p>1-ControllerBLUE.controller (Default)</p>
  
  <p>2-ControllerRED.controller</p>
  
  <p>How can I change the controller from script</p>
  
  <p>I tried:</p>
  
  <pre><code>var colorController = GetComponent(Animator);
  
  
   colorController.runtimeAnimatorController =   Resources.Load("main/colors/controllercolors/ControllerRED.controller ") as RuntimeAnimatorController;
  </code></pre>
  
  <p>But it doesn't work it just make the animator controller to : "None (Runtime Animator Controller)"</p>
  
  <p>Is it possible ? How can I make it work ? </p>