You are welcome.
You can use for example the Animation.CrossFade method for this. In the following example I used CrossFade to play an animation named “Walk” on the Animation component of the gameobject with a crossfade time of 0.2. Of course the gameobject (self) will also need to have the Animation component with an animation clip named “Walk” as well, since that is how Unity works.