Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Getting animation clips from Animation component

Discussion in 'Animation' started by EpicSmug, Aug 10, 2023.

  1. EpicSmug

    EpicSmug

    Joined:
    Jan 28, 2018
    Posts:
    3
    I'm trying to understand if it is possible to access the list of animation clip that are displayed in the inspector of an Animation component (see image for reference)

    They are clearly visible and easy to edit, however after reading through the documentation and the forums I haven't found a way to get these clips.
    Extracting their names, instead of the clip reference, would work too.
     

    Attached Files:

  2. Saniell

    Saniell

    Joined:
    Oct 24, 2015
    Posts:
    167
    EpicSmug likes this.
  3. EpicSmug

    EpicSmug

    Joined:
    Jan 28, 2018
    Posts:
    3