snozbot / fungus

An easy to use Unity 3D library for creating illustrated Interactive Fiction games and more.
MIT License
1.59k stars 291 forks source link

LeanTween UI Color New Command #1013

Open breadnone opened 3 years ago

breadnone commented 3 years ago

Description

New LeanTween command to tween UI component's color

What is the current behavior?

No command for this yet

What is the new behavior?

We can tween from default color to new color

Important Notes

Other information

This specific command isn't derived from BaseLeanTweenCommand.cs simply bcos the new command itself is very simple and do not need any other unrelated properties inherited from BaseLeanTweenCommand.

Edit: I'm against making direct reference to Image component, simply bcos we can't get the gameObject that are stored in our local variables