Search Unity

Add property to all clips in an animation controller?

Discussion in 'Animation' started by menderbug, May 13, 2020.

  1. menderbug

    menderbug

    Joined:
    May 14, 2018
    Posts:
    26
    Is there an easy way to add a property to all clips in an animation controller? I've got a handful of properties at various levels of the hierarchy, that I want to animate across ~16 clips, and it's a little tedious to pick out the individual properties for each of them. I know I can get them with a little less clicking by using recording mode, but a) I still have to do that once for each clip and b) it's easy to forgot one of the properties. If I could just prepopulate all clips with the same properties, that would save a lot of headaches.
     
  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    menderbug likes this.
  3. Quetzal_Studios

    Quetzal_Studios

    Joined:
    Jan 2, 2017
    Posts:
    7
    I just realized that while in Anim preview, you can right click a component and add keys from there. Works with multiple selection. Using 2020.3.9f1
    upload_2021-6-7_5-48-50.png
     
    tonytopper and menderbug like this.
  4. tonytopper

    tonytopper

    Joined:
    Jun 25, 2018
    Posts:
    226
    This is what the official Unity tutorial suggests as well. Thanks for helping me refind the right answer after I forgot.