i have a gameobject that needs to act like it has an animator. --GetComponent();
In fact the child of that gameobject has the animator.
I want to return the Animator of the child when GetComponent(); is called on the parent.
I m an absolute csharp noob. could someone give me a code sample on how to usually do this?
why? - i 'm using two assets. one requires the animator to be in the child. one requires the animator to be in the actual gameobject. - need to use both assets