title: Why when trying to play animation clip nothing happen?
body: <p>What i want is when running the game that the animation clip will start playing automatically.</p>
  
  <p>I added to the Main Camera a Animation component.
  Added in the Inspector to the Animation the clip file name Camera_Sign003 also set the Animations size to 1 and added there the same clip Camera_Sign003.
  Also i set to true the Play Automatically.</p>
  
  <p>I also attached a script to the Main Camera:</p>
  
  <pre><code>using System.Collections;
  using System.Collections.Generic;
  using UnityEngine;
  
  public class CameraPoints : MonoBehaviour
  {
      public Animation anim;
      IEnumerator Start()
      {
          anim = GetComponent&lt;Animation&gt;();
          anim.Play(anim.clip.name);
          yield return new WaitForSeconds(anim.clip.length);
      }
  }
  </code></pre>
  
  <p>And i checked with a break point it's getting to the line anim.Play....And the length is 10 but nothing happen after 10 seconds.</p>
  
  <p>The animation is a short clip moving the camera from point to point.</p>
  
  <p>The Main Camera is child under ThirdPersonController.</p>
  
  <p><a href="https://i.stack.imgur.com/sGIRo.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sGIRo.jpg" alt="Animation"></a></p>