Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image alpha bug. #180

Open
aholla opened this issue Nov 16, 2023 · 0 comments
Open

Image alpha bug. #180

aholla opened this issue Nov 16, 2023 · 0 comments

Comments

@aholla
Copy link

aholla commented Nov 16, 2023

If you initially set the alpha to 0 with a time of 0, a new material is added. Subsequently, whne you go to tween the alpha back to 1 it does not tween the images alpha, it tweens the new materials alpha.

LeanTween.Alpha(image, 0, 0) // This looks like it is working

... /// later in the app

LeanTween.Alpha(image, 1, 0.5f); // This does not work, the images alpha remains at 0.`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant