- Home /
Question by
unityplease · Sep 08, 2017 at 02:17 AM ·
materialprojector
Animating Projector Material
I am using a projector to draw circles under my units when they are selected as in this great tutorial:
http://hyunkell.com/blog/rts-style-unit-selection-in-unity-5/
This works great but I tend to like to have the unit selection fade over time.
I've done this in the past by keyframing a mesh renderer material and disabling it at the end of the animation.
However the Projector does not expose the projector material to the animator so I can't key frame it.
Is this something Unity might consider doing in future because I can do a code work around setting the alpha and color values per frame. But this isn't very visibly tweekable and I prefer the 'animate anything' idea using the animator if possible.
Comment