I am having some problems with adding a RuntimeAnimationController to the Animator that I created dynamically.
The game object that the Animator is added to is also created at runtime.
var playerMohawk = GameObject.Find(“Mohawk”);
var thisAnimationObject = playerMohawk.AddComponent(“Animator”);
thisAnimationObject.RuntimeAnimationController = “Fly”;
But it will not allow me to add a RuntimeAnimationController, saying RuntimeAnimationController is not a member of Object. Any help?