Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Animating Shared Material

Discussion in 'Timeline' started by Lune, May 27, 2018.

  1. Lune

    Lune

    Joined:
    Oct 20, 2012
    Posts:
    62
    Hello!

    I am trying to animate material settings via the animation track, what i do is, i drag a gameobject where the material is used over an animation track and then animate the material settings, however the animation is only applied to the material in the mesh (which was expected).

    is there a way to animate the shared material in all the meshes without animating one by one?

    thanks!
     
  2. Peter77

    Peter77

    Joined:
    Jun 12, 2013
    Posts:
    4,206
    Can you add the material file itself to the animation track?
     
  3. Lune

    Lune

    Joined:
    Oct 20, 2012
    Posts:
    62
    tried that before posting here, animation tracks requires that the object on it has an animator component, so you can not drop a material file there.
     
    Peter77 likes this.
  4. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,038
    I don't believe it is possible with animation tracks. To do this in timeline, you could create a custom track. I don't know of any existing (custom) tracks that do this, but it does seem like it would be useful.