jeffreylanters / unity-tweens

An extremely light weight, extendable and customisable tweening engine made for strictly typed script-based animations for user-interfaces and world-space objects optimised for all platforms.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TweenGraphicAlpha doesnt work for animators using Image module

mchangxe opened this issue · comments

Describe the bug
For some reason TweenGraphicAlpha doesnt work for image renderers rendering a sprite animation.

To Reproduce
Steps to reproduce the behavior:

  1. use sprite animation on Image module, call TweenGraphicAlpha on the gameobject.

Expected behavior
the sprite animation should fade in or fade out depending on argument of TweenGraphicAlpha

Desktop (please complete the following information):

  • Windows Editor, Unity 2018.4.8f1

Hello. Thanks for opening this issue, I'm going to look into this and will try to release a patch update as soon as possible.

There might be a change your Sprite Animation is trying to alter the Sprite Renderer's color. If this is the case, the Sprite Animation and Tween are constantly fighting over the target color. Can you confirm your Sprite Animation only alters the Sprite itself as seen in the image below?

image

Closed due to inactivity.