Get Animation by ID

Is it Possible to get an animantionclip from the animation section of the gameobject in script per ID ? and not by String/Name


i mean you can get the total number of the assigned clips but you can't reference them by ID?

You mean you want to access it by index? You can't do that, but you can iterate animation states:

foreach (AnimationState state in animation)
  // do something with state