Search Unity

Open up .anim file

Discussion in 'Getting Started' started by Goodeddie, Aug 10, 2016.

  1. Goodeddie

    Goodeddie

    Joined:
    Aug 3, 2016
    Posts:
    79
    Hello.

    How do you open up a .anim file and show it in the Animation view?
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,794
    Drag and drop it onto a gameobject, select that gameobject. (that's for legacy animations)

    Drag and drop it onto a gameobject, select that gameobject, click on the animation in the Animator view. (that's for animator animations)
     
    JoeStrout likes this.
  3. Goodeddie

    Goodeddie

    Joined:
    Aug 3, 2016
    Posts:
    79
    So it has to be on a gameObject in order to edit it?

    Also, is there a way to delete items from the Clip drop down in the Animation view?
     
  4. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,794
    Reduce the Size in animations by one?
     
  5. Goodeddie

    Goodeddie

    Joined:
    Aug 3, 2016
    Posts:
    79
    Where is the size? And also what is "Samples" for? The default value is 60.

    Oh the Samples is how many FPS I think.

    I still don't know how to remove the Clip from the drop down.
     
  6. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,794
  7. Goodeddie

    Goodeddie

    Joined:
    Aug 3, 2016
    Posts:
    79
    I got it! In order for a clip to be in the Animation clip drop down, it also has to be in the Animator.

    When you delete the state from the Animator, it will also be deleted in the Animation drop down. The .anim file will still exist.

    When you delete the .anim file from the Project view, the state in the Animator and also the clip in the Animation drop down will also be deleted.
     
  8. Goodeddie

    Goodeddie

    Joined:
    Aug 3, 2016
    Posts:
    79
    Thank you for the links but they scare me! Why is Animation a legacy tool? What is the tool that replaced it?
     
  9. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,794
    You are not using the legacy tool. You are in fact using the current "animator" tool.

    I was just providing info about both since I wasn't sure what you were using :)

    I will concur that calling one component "Animator" and the other "Animation" makes it a bit confusing when talking about animations in general :)
     
  10. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,794
  11. Goodeddie

    Goodeddie

    Joined:
    Aug 3, 2016
    Posts:
    79
    Also, I have a lot of clips for 1 Animator. What happens if the drop down becomes too long? How do I select the clip to edit in the Animation view?
     
  12. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,794
    AFAIK the drop down becomes scrollable if it gets bigger than the screen.
     
    Kiwasi likes this.